#9866F9#9866F9
#9866F9 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.5% C 0.210 H 295.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9866F9 |
|---|---|
| RGB | rgb(152, 102, 249) |
| HSL | hsl(260, 92%, 69%) |
| HSV | hsv(260, 59%, 98%) |
| CMYK | cmyk(39%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(55.09, 51.26, -66.65) |
| CIE-LCH | lch(55.09, 84.09, 307.56°) |
| OKLab | oklab(63.46% 0.0903 -0.1897) |
| OKLCH | oklch(63.46% 0.21 295.5) |
| XYZ | xyz(34.7947, 23.0170, 92.2137) |
| Luminance | 0.2302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.60
Mediumpurple
#9370DB
ΔE00 5.01
Mediumslateblue
#7B68EE
ΔE00 5.27
Light Urple
#B36FF6
ΔE00 5.61
Lightish Purple
#A552E6
ΔE00 6.04
Purpley
#8756E4
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9866F9 #C7F966
analogous
#667EF9 #9866F9 #E266F9
triadic
#9866F9 #F99866 #66F998
tetradic
#9866F9 #F9667E #C7F966 #66F9E2
square
#9866F9 #F9667E #C7F966 #66F9E2
split-complementary
#9866F9 #F9E266 #7EF966
monochromatic
#5109DC #702BF7 #9866F9 #C0A1FB #E7DCFE
Accessibility & contrast
On white
3.75
#9866F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#9866F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9866F9
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9866F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9866F9 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#1F82F6
Tritanopia (blue-blind)
#8086A6
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9866f9; /* rgb */ color: rgb(152, 102, 249); /* oklch */ color: oklch(63.5% 0.210 295.5);
Tailwind
colors: {
custom: {
50: '#bc94fc',
500: '#9866f9',
950: '#000000',
},
}SCSS
$custom: #9866f9; $custom-light: #bc94fc; $custom-dark: #000000;
JSON
{
"hex": "#9866f9",
"rgb": {
"r": 152,
"g": 102,
"b": 249
},
"hsl": {
"h": 260.408,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.63462,
"c": 0.21008,
"h": 295.5
},
"luminance": 0.23018
}Semantic roles & 50–950 ramp
primary
#9866F9
secondary
#E4F3C8
accent
#E60097
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D18
muted
#817E86