#C166CA#C166CA
#C166CA is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.2% C 0.171 H 323.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C166CA |
|---|---|
| RGB | rgb(193, 102, 202) |
| HSL | hsl(295, 49%, 60%) |
| HSV | hsv(295, 50%, 79%) |
| CMYK | cmyk(4.5%, 49.5%, 0%, 20.8%) |
| CIE-LAB | lab(57.18, 50.98, -36.64) |
| CIE-LCH | lch(57.18, 62.78, 324.29°) |
| OKLab | oklab(65.2% 0.1384 -0.101) |
| OKLCH | oklch(65.2% 0.171 323.9) |
| XYZ | xyz(37.4034, 25.1062, 58.7415) |
| Luminance | 0.2510 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.77
Mediumorchid
#BA55D3
ΔE00 4.92
Orchid
#DA70D6
ΔE00 5.37
Pinky Purple
#C94CBE
ΔE00 5.43
Pinkish Purple
#D648D7
ΔE00 5.55
Purpleish Pink
#DF4EC8
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166CA #6FCA66
analogous
#8F66CA #C166CA #CA66A1
triadic
#C166CA #CAC166 #66CAC1
tetradic
#C166CA #CA8F66 #6FCA66 #66A1CA
square
#C166CA #CA8F66 #6FCA66 #66A1CA
split-complementary
#C166CA #A1CA66 #66CA8F
monochromatic
#7F2F87 #AA3EB4 #C166CA #D393DA #E6C1E9
Accessibility & contrast
On white
3.49
#C166CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#C166CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166CA
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166CA | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#C4728F
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #c166ca; /* rgb */ color: rgb(193, 102, 202); /* oklch */ color: oklch(65.2% 0.171 323.9);
Tailwind
colors: {
custom: {
50: '#d695da',
500: '#c166ca',
950: '#000000',
},
}SCSS
$custom: #c166ca; $custom-light: #d695da; $custom-dark: #000000;
JSON
{
"hex": "#c166ca",
"rgb": {
"r": 193,
"g": 102,
"b": 202
},
"hsl": {
"h": 294.6,
"s": 48.544,
"l": 59.608
},
"oklch": {
"l": 0.65199,
"c": 0.17131,
"h": 323.9
},
"luminance": 0.25104
}Semantic roles & 50–950 ramp
primary
#C166CA
secondary
#B6D9B2
accent
#D8505C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83