#C166E1#C166E1
#C166E1 is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.4% C 0.194 H 316.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C166E1 |
|---|---|
| RGB | rgb(193, 102, 225) |
| HSL | hsl(284, 67%, 64%) |
| HSV | hsv(284, 55%, 88%) |
| CMYK | cmyk(14.2%, 54.7%, 0%, 11.8%) |
| CIE-LAB | lab(58.30, 55.47, -47.87) |
| CIE-LCH | lch(58.30, 73.27, 319.21°) |
| OKLab | oklab(66.39% 0.1409 -0.1335) |
| OKLCH | oklch(66.39% 0.194 316.5) |
| XYZ | xyz(40.3323, 26.2778, 74.1671) |
| Luminance | 0.2628 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.88
Bright Lavender
#C760FF
ΔE00 4.36
Mediumorchid
#BA55D3
ΔE00 4.55
Heliotrope
#D94FF5
ΔE00 4.87
Light Purple
#BF77F6
ΔE00 5.05
Light Urple
#B36FF6
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166E1 #86E166
analogous
#8466E1 #C166E1 #E166C4
triadic
#C166E1 #E1C166 #66E1C1
tetradic
#C166E1 #E18466 #86E166 #66C4E1
square
#C166E1 #E18466 #86E166 #66C4E1
split-complementary
#C166E1 #C4E166 #66E184
monochromatic
#8722AB #AC33D7 #C166E1 #D699EB #EACCF5
Accessibility & contrast
On white
3.36
#C166E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#C166E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166E1
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166E1 | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4986E5
Deuteranopia (green-blind)
#688FDE
Tritanopia (blue-blind)
#C07A9A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c166e1; /* rgb */ color: rgb(193, 102, 225); /* oklch */ color: oklch(66.4% 0.194 316.5);
Tailwind
colors: {
custom: {
50: '#d695eb',
500: '#c166e1',
950: '#000000',
},
}SCSS
$custom: #c166e1; $custom-light: #d695eb; $custom-dark: #000000;
JSON
{
"hex": "#c166e1",
"rgb": {
"r": 193,
"g": 102,
"b": 225
},
"hsl": {
"h": 284.39,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.6639,
"c": 0.19406,
"h": 316.5
},
"luminance": 0.26276
}Semantic roles & 50–950 ramp
primary
#C166E1
secondary
#C7E7BC
accent
#CF1646
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84