#C166DE#C166DE
#C166DE is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.2% C 0.191 H 317.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C166DE |
|---|---|
| RGB | rgb(193, 102, 222) |
| HSL | hsl(286, 65%, 64%) |
| HSV | hsv(286, 54%, 87%) |
| CMYK | cmyk(13.1%, 54.1%, 0%, 12.9%) |
| CIE-LAB | lab(58.15, 54.87, -46.43) |
| CIE-LCH | lch(58.15, 71.88, 319.76°) |
| OKLab | oklab(66.23% 0.1406 -0.1293) |
| OKLCH | oklch(66.23% 0.191 317.4) |
| XYZ | xyz(39.9266, 26.1156, 72.0307) |
| Luminance | 0.2611 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 4.33
Mediumorchid
#BA55D3
ΔE00 4.39
Bright Lavender
#C760FF
ΔE00 4.84
Heliotrope
#D94FF5
ΔE00 5.06
Light Purple
#BF77F6
ΔE00 5.40
Light Urple
#B36FF6
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166DE #83DE66
analogous
#8566DE #C166DE #DE66BF
triadic
#C166DE #DEC166 #66DEC1
tetradic
#C166DE #DE8566 #83DE66 #66BFDE
square
#C166DE #DE8566 #83DE66 #66BFDE
split-complementary
#C166DE #BFDE66 #66DE85
monochromatic
#8624A6 #AD34D3 #C166DE #D598E9 #EACBF4
Accessibility & contrast
On white
3.37
#C166DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#C166DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166DE
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166DE | 1.00 | 3.37 | 6.22 | 6.22 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C86E2
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#C07999
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c166de; /* rgb */ color: rgb(193, 102, 222); /* oklch */ color: oklch(66.2% 0.191 317.4);
Tailwind
colors: {
custom: {
50: '#d695e9',
500: '#c166de',
950: '#000000',
},
}SCSS
$custom: #c166de; $custom-light: #d695e9; $custom-dark: #000000;
JSON
{
"hex": "#c166de",
"rgb": {
"r": 193,
"g": 102,
"b": 222
},
"hsl": {
"h": 285.5,
"s": 64.516,
"l": 63.529
},
"oklch": {
"l": 0.66228,
"c": 0.19104,
"h": 317.4
},
"luminance": 0.26114
}Semantic roles & 50–950 ramp
primary
#C166DE
secondary
#C5E5BB
accent
#CC1944
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84