#C166DC#C166DC
#C166DC is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.1% C 0.189 H 318.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C166DC |
|---|---|
| RGB | rgb(193, 102, 220) |
| HSL | hsl(286, 63%, 63%) |
| HSV | hsv(286, 54%, 86%) |
| CMYK | cmyk(12.3%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(58.05, 54.47, -45.46) |
| CIE-LCH | lch(58.05, 70.95, 320.15°) |
| OKLab | oklab(66.12% 0.1405 -0.1265) |
| OKLCH | oklch(66.12% 0.189 318) |
| XYZ | xyz(39.6602, 26.0090, 70.6274) |
| Luminance | 0.2601 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.31
Bright Lilac
#C95EFB
ΔE00 4.64
Bright Lavender
#C760FF
ΔE00 5.17
Heliotrope
#D94FF5
ΔE00 5.22
Pinkish Purple
#D648D7
ΔE00 5.62
Light Purple
#BF77F6
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166DC #81DC66
analogous
#8666DC #C166DC #DC66BC
triadic
#C166DC #DCC166 #66DCC1
tetradic
#C166DC #DC8666 #81DC66 #66BCDC
square
#C166DC #DC8666 #81DC66 #66BCDC
split-complementary
#C166DC #BCDC66 #66DC86
monochromatic
#8625A2 #AD34D1 #C166DC #D598E7 #E9CAF3
Accessibility & contrast
On white
3.39
#C166DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#C166DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166DC
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166DC | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D86E0
Deuteranopia (green-blind)
#6B8FD9
Tritanopia (blue-blind)
#C17898
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c166dc; /* rgb */ color: rgb(193, 102, 220); /* oklch */ color: oklch(66.1% 0.189 318.0);
Tailwind
colors: {
custom: {
50: '#d695e7',
500: '#c166dc',
950: '#000000',
},
}SCSS
$custom: #c166dc; $custom-light: #d695e7; $custom-dark: #000000;
JSON
{
"hex": "#c166dc",
"rgb": {
"r": 193,
"g": 102,
"b": 220
},
"hsl": {
"h": 286.271,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.66121,
"c": 0.18903,
"h": 318
},
"luminance": 0.26008
}Semantic roles & 50–950 ramp
primary
#C166DC
secondary
#C3E4BA
accent
#CB1B43
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84