#9862EF#9862EF
#9862EF is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.2% C 0.204 H 297.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9862EF |
|---|---|
| RGB | rgb(152, 98, 239) |
| HSL | hsl(263, 82%, 66%) |
| HSV | hsv(263, 59%, 94%) |
| CMYK | cmyk(36.4%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(53.65, 50.84, -63.42) |
| CIE-LCH | lch(53.65, 81.28, 308.72°) |
| OKLab | oklab(62.2% 0.0952 -0.1802) |
| OKLCH | oklch(62.2% 0.204 297.9) |
| XYZ | xyz(32.8926, 21.6423, 84.0890) |
| Luminance | 0.2164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.68
Lightish Purple
#A552E6
ΔE00 4.51
Mediumpurple
#9370DB
ΔE00 4.71
Purpley
#8756E4
ΔE00 4.91
Mediumslateblue
#7B68EE
ΔE00 5.49
Light Urple
#B36FF6
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9862EF #B9EF62
analogous
#6272EF #9862EF #DF62EF
triadic
#9862EF #EF9862 #62EF98
tetradic
#9862EF #EF6272 #B9EF62 #62EFDF
square
#9862EF #EF6272 #B9EF62 #62EFDF
split-complementary
#9862EF #EFDF62 #72EF62
monochromatic
#5714C3 #742AE9 #9862EF #BC9AF5 #E1D1FA
Accessibility & contrast
On white
3.94
#9862EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#9862EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9862EF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9862EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9862EF | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#2B7FEC
Tritanopia (blue-blind)
#84809F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9862ef; /* rgb */ color: rgb(152, 98, 239); /* oklch */ color: oklch(62.2% 0.204 297.9);
Tailwind
colors: {
custom: {
50: '#bb91f5',
500: '#9862ef',
950: '#000000',
},
}SCSS
$custom: #9862ef; $custom-light: #bb91f5; $custom-dark: #000000;
JSON
{
"hex": "#9862ef",
"rgb": {
"r": 152,
"g": 98,
"b": 239
},
"hsl": {
"h": 262.979,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.62203,
"c": 0.20376,
"h": 297.9
},
"luminance": 0.21643
}Semantic roles & 50–950 ramp
primary
#9862EF
secondary
#DCEEBF
accent
#DE088C
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#120D17
muted
#817E85