#9666CC#9666CC
#9666CC is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.155 H 303.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9666CC |
|---|---|
| RGB | rgb(150, 102, 204) |
| HSL | hsl(268, 50%, 60%) |
| HSV | hsv(268, 50%, 80%) |
| CMYK | cmyk(26.5%, 50%, 0%, 20%) |
| CIE-LAB | lab(52.23, 39.50, -45.93) |
| CIE-LCH | lch(52.23, 60.58, 310.70°) |
| OKLab | oklab(60.45% 0.0865 -0.129) |
| OKLCH | oklch(60.45% 0.155 303.8) |
| XYZ | xyz(28.2258, 20.3465, 59.5553) |
| Luminance | 0.2035 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.29
Deep Lilac
#966EBD
ΔE00 4.01
Mediumpurple
#9370DB
ΔE00 4.04
Deep Lavender
#8D5EB7
ΔE00 4.43
Lightish Purple
#A552E6
ΔE00 6.08
Lighter Purple
#A55AF4
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9666CC #9CCC66
analogous
#6669CC #9666CC #C966CC
triadic
#9666CC #CC9666 #66CC96
tetradic
#9666CC #CC6669 #9CCC66 #66CCC9
square
#9666CC #CC6669 #9CCC66 #66CCC9
split-complementary
#9666CC #CCC966 #69CC66
monochromatic
#592E8A #773DB8 #9666CC #B594DB #D5C2EB
Accessibility & contrast
On white
4.14
#9666CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#9666CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9666CC
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9666CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9666CC | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477BD0
Deuteranopia (green-blind)
#547DC9
Tritanopia (blue-blind)
#8D7890
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9666cc; /* rgb */ color: rgb(150, 102, 204); /* oklch */ color: oklch(60.5% 0.155 303.8);
Tailwind
colors: {
custom: {
50: '#b793dc',
500: '#9666cc',
950: '#000000',
},
}SCSS
$custom: #9666cc; $custom-light: #b793dc; $custom-dark: #000000;
JSON
{
"hex": "#9666cc",
"rgb": {
"r": 150,
"g": 102,
"b": 204
},
"hsl": {
"h": 268.235,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.6045,
"c": 0.15529,
"h": 303.8
},
"luminance": 0.20346
}Semantic roles & 50–950 ramp
primary
#9666CC
secondary
#C8DBB3
accent
#DA4E98
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83