#9666F2#9666F2
#9666F2 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.8% C 0.202 H 295.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9666F2 |
|---|---|
| RGB | rgb(150, 102, 242) |
| HSL | hsl(261, 84%, 67%) |
| HSV | hsv(261, 58%, 95%) |
| CMYK | cmyk(38%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(54.45, 49.02, -63.81) |
| CIE-LCH | lch(54.45, 80.47, 307.53°) |
| OKLab | oklab(62.8% 0.088 -0.1814) |
| OKLCH | oklch(62.8% 0.202 295.9) |
| XYZ | xyz(33.3519, 22.3969, 86.5530) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.60
Mediumpurple
#9370DB
ΔE00 4.29
Mediumslateblue
#7B68EE
ΔE00 4.90
Purpley
#8756E4
ΔE00 5.65
Lightish Purple
#A552E6
ΔE00 5.69
Light Urple
#B36FF6
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9666F2 #C2F266
analogous
#667CF2 #9666F2 #DC66F2
triadic
#9666F2 #F29666 #66F296
tetradic
#9666F2 #F2667C #C2F266 #66F2DC
square
#9666F2 #F2667C #C2F266 #66F2DC
split-complementary
#9666F2 #F2DC66 #7CF266
monochromatic
#5111CC #6F2EED #9666F2 #BD9EF7 #E3D7FC
Accessibility & contrast
On white
3.83
#9666F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#9666F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9666F2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9666F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9666F2 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E83F7
Deuteranopia (green-blind)
#2B80EF
Tritanopia (blue-blind)
#7F84A2
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9666f2; /* rgb */ color: rgb(150, 102, 242); /* oklch */ color: oklch(62.8% 0.202 295.9);
Tailwind
colors: {
custom: {
50: '#ba93f7',
500: '#9666f2',
950: '#000000',
},
}SCSS
$custom: #9666f2; $custom-light: #ba93f7; $custom-dark: #000000;
JSON
{
"hex": "#9666f2",
"rgb": {
"r": 150,
"g": 102,
"b": 242
},
"hsl": {
"h": 260.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.62802,
"c": 0.20159,
"h": 295.9
},
"luminance": 0.22398
}Semantic roles & 50–950 ramp
primary
#9666F2
secondary
#E1F0C4
accent
#E10595
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85