#C166E2#C166E2
#C166E2 is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.4% C 0.195 H 316.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C166E2 |
|---|---|
| RGB | rgb(193, 102, 226) |
| HSL | hsl(284, 68%, 64%) |
| HSV | hsv(284, 55%, 89%) |
| CMYK | cmyk(14.6%, 54.9%, 0%, 11.4%) |
| CIE-LAB | lab(58.35, 55.67, -48.35) |
| CIE-LCH | lch(58.35, 73.74, 319.03°) |
| OKLab | oklab(66.44% 0.1409 -0.1349) |
| OKLCH | oklch(66.44% 0.195 316.3) |
| XYZ | xyz(40.4691, 26.3325, 74.8877) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.74
Bright Lavender
#C760FF
ΔE00 4.21
Mediumorchid
#BA55D3
ΔE00 4.61
Heliotrope
#D94FF5
ΔE00 4.81
Light Purple
#BF77F6
ΔE00 4.94
Light Urple
#B36FF6
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166E2 #87E266
analogous
#8366E2 #C166E2 #E266C5
triadic
#C166E2 #E2C166 #66E2C1
tetradic
#C166E2 #E28366 #87E266 #66C5E2
square
#C166E2 #E28366 #87E266 #66C5E2
split-complementary
#C166E2 #C5E266 #66E283
monochromatic
#8821AD #AC33D8 #C166E2 #D699EC #EBCDF6
Accessibility & contrast
On white
3.35
#C166E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#C166E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166E2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166E2 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4887E6
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#BF7A9B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c166e2; /* rgb */ color: rgb(193, 102, 226); /* oklch */ color: oklch(66.4% 0.195 316.3);
Tailwind
colors: {
custom: {
50: '#d695eb',
500: '#c166e2',
950: '#000000',
},
}SCSS
$custom: #c166e2; $custom-light: #d695eb; $custom-dark: #000000;
JSON
{
"hex": "#c166e2",
"rgb": {
"r": 193,
"g": 102,
"b": 226
},
"hsl": {
"h": 284.032,
"s": 68.132,
"l": 64.314
},
"oklch": {
"l": 0.66444,
"c": 0.19508,
"h": 316.3
},
"luminance": 0.26331
}Semantic roles & 50–950 ramp
primary
#C166E2
secondary
#C8E7BC
accent
#D01547
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84