#C166E0#C166E0
#C166E0 is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.3% C 0.193 H 316.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C166E0 |
|---|---|
| RGB | rgb(193, 102, 224) |
| HSL | hsl(285, 66%, 64%) |
| HSV | hsv(285, 54%, 88%) |
| CMYK | cmyk(13.8%, 54.5%, 0%, 12.2%) |
| CIE-LAB | lab(58.25, 55.27, -47.39) |
| CIE-LCH | lch(58.25, 72.81, 319.39°) |
| OKLab | oklab(66.34% 0.1408 -0.1321) |
| OKLCH | oklch(66.34% 0.193 316.8) |
| XYZ | xyz(40.1963, 26.2234, 73.4508) |
| Luminance | 0.2622 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 4.03
Mediumorchid
#BA55D3
ΔE00 4.49
Bright Lavender
#C760FF
ΔE00 4.52
Heliotrope
#D94FF5
ΔE00 4.93
Light Purple
#BF77F6
ΔE00 5.17
Light Urple
#B36FF6
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166E0 #85E066
analogous
#8466E0 #C166E0 #E066C2
triadic
#C166E0 #E0C166 #66E0C1
tetradic
#C166E0 #E08466 #85E066 #66C2E0
square
#C166E0 #E08466 #85E066 #66C2E0
split-complementary
#C166E0 #C2E066 #66E084
monochromatic
#8722A9 #AC33D6 #C166E0 #D699EA #EACCF5
Accessibility & contrast
On white
3.36
#C166E0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#C166E0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166E0
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166E0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166E0 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A86E4
Deuteranopia (green-blind)
#698FDD
Tritanopia (blue-blind)
#C0799A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c166e0; /* rgb */ color: rgb(193, 102, 224); /* oklch */ color: oklch(66.3% 0.193 316.8);
Tailwind
colors: {
custom: {
50: '#d695ea',
500: '#c166e0',
950: '#000000',
},
}SCSS
$custom: #c166e0; $custom-light: #d695ea; $custom-dark: #000000;
JSON
{
"hex": "#c166e0",
"rgb": {
"r": 193,
"g": 102,
"b": 224
},
"hsl": {
"h": 284.754,
"s": 66.304,
"l": 63.922
},
"oklch": {
"l": 0.66336,
"c": 0.19306,
"h": 316.8
},
"luminance": 0.26222
}Semantic roles & 50–950 ramp
primary
#C166E0
secondary
#C6E6BC
accent
#CE1746
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84