#C166DA#C166DA
#C166DA is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.0% C 0.187 H 318.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C166DA |
|---|---|
| RGB | rgb(193, 102, 218) |
| HSL | hsl(287, 61%, 63%) |
| HSV | hsv(287, 53%, 85%) |
| CMYK | cmyk(11.5%, 53.2%, 0%, 14.5%) |
| CIE-LAB | lab(57.95, 54.07, -44.50) |
| CIE-LCH | lch(57.95, 70.03, 320.55°) |
| OKLab | oklab(66.01% 0.1403 -0.1237) |
| OKLCH | oklch(66.01% 0.187 318.6) |
| XYZ | xyz(39.3969, 25.9037, 69.2407) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.26
Bright Lilac
#C95EFB
ΔE00 4.96
Heliotrope
#D94FF5
ΔE00 5.39
Bright Lavender
#C760FF
ΔE00 5.49
Pinkish Purple
#D648D7
ΔE00 5.52
Light Purple
#BF77F6
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166DA #7FDA66
analogous
#8766DA #C166DA #DA66B9
triadic
#C166DA #DAC166 #66DAC1
tetradic
#C166DA #DA8766 #7FDA66 #66B9DA
square
#C166DA #DA8766 #7FDA66 #66B9DA
split-complementary
#C166DA #B9DA66 #66DA87
monochromatic
#85269F #AD35CE #C166DA #D597E6 #E9C9F2
Accessibility & contrast
On white
3.40
#C166DA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#C166DA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166DA
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166DA | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F85DE
Deuteranopia (green-blind)
#6C8ED7
Tritanopia (blue-blind)
#C17797
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c166da; /* rgb */ color: rgb(193, 102, 218); /* oklch */ color: oklch(66.0% 0.187 318.6);
Tailwind
colors: {
custom: {
50: '#d695e6',
500: '#c166da',
950: '#000000',
},
}SCSS
$custom: #c166da; $custom-light: #d695e6; $custom-dark: #000000;
JSON
{
"hex": "#c166da",
"rgb": {
"r": 193,
"g": 102,
"b": 218
},
"hsl": {
"h": 287.069,
"s": 61.053,
"l": 62.745
},
"oklch": {
"l": 0.66014,
"c": 0.18703,
"h": 318.6
},
"luminance": 0.25902
}Semantic roles & 50–950 ramp
primary
#C166DA
secondary
#C2E3B9
accent
#C91D42
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84