#C166EF#C166EF
#C166EF is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.2% C 0.208 H 312.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C166EF |
|---|---|
| RGB | rgb(193, 102, 239) |
| HSL | hsl(280, 81%, 67%) |
| HSV | hsv(280, 57%, 94%) |
| CMYK | cmyk(19.2%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(59.04, 58.35, -54.51) |
| CIE-LCH | lch(59.04, 79.85, 316.95°) |
| OKLab | oklab(67.17% 0.1416 -0.1529) |
| OKLCH | oklch(67.17% 0.208 312.8) |
| XYZ | xyz(42.3210, 27.0733, 84.6409) |
| Luminance | 0.2707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.13
Bright Lavender
#C760FF
ΔE00 2.34
Easter Purple
#C071FE
ΔE00 3.30
Light Urple
#B36FF6
ΔE00 3.46
Light Purple
#BF77F6
ΔE00 3.87
Heliotrope
#D94FF5
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166EF #94EF66
analogous
#7D66EF #C166EF #EF66D9
triadic
#C166EF #EFC166 #66EFC1
tetradic
#C166EF #EF7D66 #94EF66 #66D9EF
square
#C166EF #EF7D66 #94EF66 #66D9EF
split-complementary
#C166EF #D9EF66 #66EF7D
monochromatic
#8A15C6 #AB2FE9 #C166EF #D79DF5 #EED5FB
Accessibility & contrast
On white
3.27
#C166EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#C166EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166EF
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166EF | 1.00 | 3.27 | 6.41 | 6.41 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B89F3
Deuteranopia (green-blind)
#5F90EC
Tritanopia (blue-blind)
#BC7EA1
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c166ef; /* rgb */ color: rgb(193, 102, 239); /* oklch */ color: oklch(67.2% 0.208 312.8);
Tailwind
colors: {
custom: {
50: '#d796f5',
500: '#c166ef',
950: '#000000',
},
}SCSS
$custom: #c166ef; $custom-light: #d796f5; $custom-dark: #000000;
JSON
{
"hex": "#c166ef",
"rgb": {
"r": 193,
"g": 102,
"b": 239
},
"hsl": {
"h": 279.854,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.67174,
"c": 0.20834,
"h": 312.8
},
"luminance": 0.27072
}Semantic roles & 50–950 ramp
primary
#C166EF
secondary
#D1EEC2
accent
#DD0850
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85