#9666CB#9666CB
#9666CB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.154 H 304.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9666CB |
|---|---|
| RGB | rgb(150, 102, 203) |
| HSL | hsl(269, 49%, 60%) |
| HSV | hsv(269, 50%, 80%) |
| CMYK | cmyk(26.1%, 49.8%, 0%, 20.4%) |
| CIE-LAB | lab(52.17, 39.26, -45.44) |
| CIE-LCH | lch(52.17, 60.06, 310.83°) |
| OKLab | oklab(60.39% 0.0864 -0.1275) |
| OKLCH | oklch(60.39% 0.154 304.1) |
| XYZ | xyz(28.1062, 20.2987, 58.9257) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.16
Deep Lilac
#966EBD
ΔE00 3.88
Mediumpurple
#9370DB
ΔE00 4.16
Deep Lavender
#8D5EB7
ΔE00 4.30
Lightish Purple
#A552E6
ΔE00 6.19
Lighter Purple
#A55AF4
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9666CB #9BCB66
analogous
#6669CB #9666CB #C966CB
triadic
#9666CB #CB9666 #66CB96
tetradic
#9666CB #CB6669 #9BCB66 #66CBC9
square
#9666CB #CB6669 #9BCB66 #66CBC9
split-complementary
#9666CB #CBC966 #69CB66
monochromatic
#592E88 #773EB6 #9666CB #B594DB #D5C1EA
Accessibility & contrast
On white
4.15
#9666CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#9666CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9666CB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9666CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9666CB | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#8D788F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9666cb; /* rgb */ color: rgb(150, 102, 203); /* oklch */ color: oklch(60.4% 0.154 304.1);
Tailwind
colors: {
custom: {
50: '#b793db',
500: '#9666cb',
950: '#000000',
},
}SCSS
$custom: #9666cb; $custom-light: #b793db; $custom-dark: #000000;
JSON
{
"hex": "#9666cb",
"rgb": {
"r": 150,
"g": 102,
"b": 203
},
"hsl": {
"h": 268.515,
"s": 49.268,
"l": 59.804
},
"oklch": {
"l": 0.60393,
"c": 0.15406,
"h": 304.1
},
"luminance": 0.20299
}Semantic roles & 50–950 ramp
primary
#9666CB
secondary
#C7DAB3
accent
#D94F97
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83