#C166EC#C166EC
#C166EC is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.0% C 0.205 H 313.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C166EC |
|---|---|
| RGB | rgb(193, 102, 236) |
| HSL | hsl(281, 78%, 66%) |
| HSV | hsv(281, 57%, 93%) |
| CMYK | cmyk(18.2%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(58.88, 57.72, -53.10) |
| CIE-LCH | lch(58.88, 78.43, 317.39°) |
| OKLab | oklab(67% 0.1415 -0.1487) |
| OKLCH | oklch(67% 0.205 313.6) |
| XYZ | xyz(41.8815, 26.8975, 82.3261) |
| Luminance | 0.2690 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.43
Bright Lavender
#C760FF
ΔE00 2.74
Easter Purple
#C071FE
ΔE00 3.65
Light Urple
#B36FF6
ΔE00 3.75
Light Purple
#BF77F6
ΔE00 4.05
Heliotrope
#D94FF5
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166EC #91EC66
analogous
#7E66EC #C166EC #EC66D4
triadic
#C166EC #ECC166 #66ECC1
tetradic
#C166EC #EC7E66 #91EC66 #66D4EC
square
#C166EC #EC7E66 #91EC66 #66D4EC
split-complementary
#C166EC #D4EC66 #66EC7E
monochromatic
#8A18C0 #AB30E5 #C166EC #D79CF3 #EDD3FA
Accessibility & contrast
On white
3.29
#C166EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#C166EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166EC
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166EC | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#BD7DA0
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c166ec; /* rgb */ color: rgb(193, 102, 236); /* oklch */ color: oklch(67.0% 0.205 313.6);
Tailwind
colors: {
custom: {
50: '#d796f3',
500: '#c166ec',
950: '#000000',
},
}SCSS
$custom: #c166ec; $custom-light: #d796f3; $custom-dark: #000000;
JSON
{
"hex": "#c166ec",
"rgb": {
"r": 193,
"g": 102,
"b": 236
},
"hsl": {
"h": 280.746,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.67002,
"c": 0.20527,
"h": 313.6
},
"luminance": 0.26896
}Semantic roles & 50–950 ramp
primary
#C166EC
secondary
#CFEDC1
accent
#DA0B4E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85