#C166F9#C166F9
#C166F9 is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.8% C 0.219 H 310.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C166F9 |
|---|---|
| RGB | rgb(193, 102, 249) |
| HSL | hsl(277, 92%, 69%) |
| HSV | hsv(277, 59%, 98%) |
| CMYK | cmyk(22.5%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(59.60, 60.46, -59.17) |
| CIE-LCH | lch(59.60, 84.60, 315.62°) |
| OKLab | oklab(67.76% 0.1417 -0.1665) |
| OKLCH | oklch(67.76% 0.219 310.4) |
| XYZ | xyz(43.8393, 27.6806, 92.6376) |
| Luminance | 0.2768 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.37
Bright Lilac
#C95EFB
ΔE00 1.72
Easter Purple
#C071FE
ΔE00 2.44
Light Urple
#B36FF6
ΔE00 2.87
Light Purple
#BF77F6
ΔE00 3.64
Heliotrope
#D94FF5
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166F9 #9EF966
analogous
#7866F9 #C166F9 #F966E8
triadic
#C166F9 #F9C166 #66F9C1
tetradic
#C166F9 #F97866 #9EF966 #66E8F9
square
#C166F9 #F97866 #9EF966 #66E8F9
split-complementary
#C166F9 #E8F966 #66F978
monochromatic
#8B09DC #A92BF7 #C166F9 #D9A1FB #F1DCFE
Accessibility & contrast
On white
3.21
#C166F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#C166F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166F9
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166F9 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E8BFE
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#BA82A6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c166f9; /* rgb */ color: rgb(193, 102, 249); /* oklch */ color: oklch(67.8% 0.219 310.4);
Tailwind
colors: {
custom: {
50: '#d796fc',
500: '#c166f9',
950: '#000000',
},
}SCSS
$custom: #c166f9; $custom-light: #d796fc; $custom-dark: #000000;
JSON
{
"hex": "#c166f9",
"rgb": {
"r": 193,
"g": 102,
"b": 249
},
"hsl": {
"h": 277.143,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.6776,
"c": 0.21863,
"h": 310.4
},
"luminance": 0.2768
}Semantic roles & 50–950 ramp
primary
#C166F9
secondary
#D8F3C8
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85