#9966CF#9966CF
#9966CF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.160 H 304.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9966CF |
|---|---|
| RGB | rgb(153, 102, 207) |
| HSL | hsl(269, 52%, 61%) |
| HSV | hsv(269, 51%, 81%) |
| CMYK | cmyk(26.1%, 50.7%, 0%, 18.8%) |
| CIE-LAB | lab(52.71, 41.02, -46.86) |
| CIE-LCH | lch(52.71, 62.28, 311.20°) |
| OKLab | oklab(60.93% 0.0905 -0.1316) |
| OKLCH | oklch(60.93% 0.16 304.5) |
| XYZ | xyz(29.1483, 20.7802, 61.4948) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.42
Mediumpurple
#9370DB
ΔE00 3.95
Deep Lilac
#966EBD
ΔE00 4.30
Deep Lavender
#8D5EB7
ΔE00 4.97
Lightish Purple
#A552E6
ΔE00 5.67
Lighter Purple
#A55AF4
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9966CF #9CCF66
analogous
#6667CF #9966CF #CE66CF
triadic
#9966CF #CF9966 #66CF99
tetradic
#9966CF #CF6667 #9CCF66 #66CFCE
square
#9966CF #CF6667 #9CCF66 #66CFCE
split-complementary
#9966CF #CFCE66 #67CF66
monochromatic
#5C2D8E #7A3BBD #9966CF #B895DE #D7C3EC
Accessibility & contrast
On white
4.07
#9966CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#9966CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9966CF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9966CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9966CF | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#907991
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9966cf; /* rgb */ color: rgb(153, 102, 207); /* oklch */ color: oklch(60.9% 0.160 304.5);
Tailwind
colors: {
custom: {
50: '#ba93de',
500: '#9966cf',
950: '#000000',
},
}SCSS
$custom: #9966cf; $custom-light: #ba93de; $custom-dark: #000000;
JSON
{
"hex": "#9966cf",
"rgb": {
"r": 153,
"g": 102,
"b": 207
},
"hsl": {
"h": 269.143,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.60933,
"c": 0.15972,
"h": 304.5
},
"luminance": 0.2078
}Semantic roles & 50–950 ramp
primary
#9966CF
secondary
#C9DCB4
accent
#C02675
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83