#9898FF color
The hex color #9898FF is a light, vivid blue.
In the RGB color model it is made of 59.6% red, 59.6% green and 100% blue (152, 152, 255).
Its hue angle is 240°, with 100% saturation and 80% lightness. For print, the CMYK equivalent is 40% cyan, 40% magenta, 0% yellow and 0% black.
The closest named color is Cold Lips (#9BA0EF), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.27:1).
#9898FF color codes
| HEX | #9898FF | |
|---|---|---|
| RGB | rgb(152, 152, 255) | |
| RGB percent | rgb(59.6%, 59.6%, 100%) | |
| HSL | hsl(240, 100%, 80%) | |
| HSV / HSB | hsv(240, 40%, 100%) | |
| CMYK | cmyk(40%, 40%, 0%, 0%) | |
| CIE LAB | lab(66.79, 24.67, -51.27) | |
| CIE LCH | lch(66.79, 56.89, 295.7) | |
| CIE XYZ | xyz(42.222, 36.35, 99.38) | |
| Decimal | 10000639 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9898FF, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #9898FF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.27:1 | Pass | Pass | Pass |
| Sample text | 2.54:1 | Fail | Fail | Fail |
| #9898FF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.54:1 | Fail | Fail | Fail |
| Sample text | 8.27:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #9898FF looks to people with the most common types of color vision deficiency.
#74a6ffProtanopia
no red cones#6f9ffdDeuteranopia
no green cones#79adbfTritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #9898ff; }
.text { color: #9898ff; }
.border { border: 2px solid #9898ff; }
.transparent { background-color: rgb(152 152 255 / 50%); }
.gradient { background: linear-gradient(to right, #9898ff, #cc98ff); }
Similar colors
#9ba0efCold Lips#8f8ce7Perrywinkle#99aaffWidowmaker#8e82fePeriwinkle Purple#a3b1f2Wondrous Wisteria#8aadf7Kitten’s Eye#b195e4Dreamy Candy Forest#b8b8f8Purple Illusion
Questions
- What color is #9898FF?
- #9898FF is a light, vivid blue, closest to the named color Cold Lips. It belongs to the blue family of colors.
- What is the RGB value of #9898FF?
- The RGB value is 152, 152, 255: 152 red, 152 green and 255 blue on a 0 to 255 scale.
- What is the complementary color of #9898FF?
- The complementary color is #FFFF98, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9898FF?
- Black text. Black text has a contrast ratio of 8.27:1 and white text 2.54:1. WCAG asks for at least 4.5:1 for normal text.