#9866F2#9866F2
#9866F2 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.0% C 0.202 H 296.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9866F2 |
|---|---|
| RGB | rgb(152, 102, 242) |
| HSL | hsl(261, 84%, 67%) |
| HSV | hsv(261, 58%, 95%) |
| CMYK | cmyk(37.2%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(54.65, 49.46, -63.48) |
| CIE-LCH | lch(54.65, 80.47, 307.93°) |
| OKLab | oklab(63% 0.0905 -0.1803) |
| OKLCH | oklch(63% 0.202 296.6) |
| XYZ | xyz(33.7232, 22.5884, 86.5704) |
| Luminance | 0.2259 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.36
Mediumpurple
#9370DB
ΔE00 4.29
Mediumslateblue
#7B68EE
ΔE00 5.26
Light Urple
#B36FF6
ΔE00 5.52
Lightish Purple
#A552E6
ΔE00 5.53
Purpley
#8756E4
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9866F2 #C0F266
analogous
#667AF2 #9866F2 #DE66F2
triadic
#9866F2 #F29866 #66F298
tetradic
#9866F2 #F2667A #C0F266 #66F2DE
square
#9866F2 #F2667A #C0F266 #66F2DE
split-complementary
#9866F2 #F2DE66 #7AF266
monochromatic
#5411CC #722EED #9866F2 #BE9EF7 #E4D7FC
Accessibility & contrast
On white
3.81
#9866F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#9866F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9866F2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9866F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9866F2 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#2E81EF
Tritanopia (blue-blind)
#8384A2
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9866f2; /* rgb */ color: rgb(152, 102, 242); /* oklch */ color: oklch(63.0% 0.202 296.6);
Tailwind
colors: {
custom: {
50: '#bb93f7',
500: '#9866f2',
950: '#000000',
},
}SCSS
$custom: #9866f2; $custom-light: #bb93f7; $custom-dark: #000000;
JSON
{
"hex": "#9866f2",
"rgb": {
"r": 152,
"g": 102,
"b": 242
},
"hsl": {
"h": 261.429,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.62996,
"c": 0.20178,
"h": 296.6
},
"luminance": 0.22589
}Semantic roles & 50–950 ramp
primary
#9866F2
secondary
#E0F0C4
accent
#E10592
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85