#C166DF#C166DF
#C166DF is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.3% C 0.192 H 317.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C166DF |
|---|---|
| RGB | rgb(193, 102, 223) |
| HSL | hsl(285, 65%, 64%) |
| HSV | hsv(285, 54%, 87%) |
| CMYK | cmyk(13.5%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(58.20, 55.07, -46.91) |
| CIE-LCH | lch(58.20, 72.34, 319.57°) |
| OKLab | oklab(66.28% 0.1407 -0.1307) |
| OKLCH | oklch(66.28% 0.192 317.1) |
| XYZ | xyz(40.0611, 26.1693, 72.7386) |
| Luminance | 0.2617 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 4.18
Mediumorchid
#BA55D3
ΔE00 4.44
Bright Lavender
#C760FF
ΔE00 4.68
Heliotrope
#D94FF5
ΔE00 4.99
Light Purple
#BF77F6
ΔE00 5.28
Light Urple
#B36FF6
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166DF #84DF66
analogous
#8466DF #C166DF #DF66C0
triadic
#C166DF #DFC166 #66DFC1
tetradic
#C166DF #DF8466 #84DF66 #66C0DF
square
#C166DF #DF8466 #84DF66 #66C0DF
split-complementary
#C166DF #C0DF66 #66DF84
monochromatic
#8723A8 #AC33D4 #C166DF #D699EA #EACBF4
Accessibility & contrast
On white
3.37
#C166DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#C166DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166DF
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166DF | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#C07999
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c166df; /* rgb */ color: rgb(193, 102, 223); /* oklch */ color: oklch(66.3% 0.192 317.1);
Tailwind
colors: {
custom: {
50: '#d695e9',
500: '#c166df',
950: '#000000',
},
}SCSS
$custom: #c166df; $custom-light: #d695e9; $custom-dark: #000000;
JSON
{
"hex": "#c166df",
"rgb": {
"r": 193,
"g": 102,
"b": 223
},
"hsl": {
"h": 285.124,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.66281,
"c": 0.19205,
"h": 317.1
},
"luminance": 0.26168
}Semantic roles & 50–950 ramp
primary
#C166DF
secondary
#C6E6BB
accent
#CD1845
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84