#C166F6#C166F6
#C166F6 is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.6% C 0.216 H 311.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C166F6 |
|---|---|
| RGB | rgb(193, 102, 246) |
| HSL | hsl(278, 89%, 68%) |
| HSV | hsv(278, 59%, 96%) |
| CMYK | cmyk(21.5%, 58.5%, 0%, 3.5%) |
| CIE-LAB | lab(59.43, 59.82, -57.78) |
| CIE-LCH | lch(59.43, 83.17, 315.99°) |
| OKLab | oklab(67.58% 0.1417 -0.1624) |
| OKLCH | oklch(67.58% 0.216 311.1) |
| XYZ | xyz(43.3752, 27.4950, 90.1930) |
| Luminance | 0.2749 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.58
Bright Lilac
#C95EFB
ΔE00 1.73
Easter Purple
#C071FE
ΔE00 2.64
Light Urple
#B36FF6
ΔE00 2.98
Light Purple
#BF77F6
ΔE00 3.65
Heliotrope
#D94FF5
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166F6 #9BF666
analogous
#7966F6 #C166F6 #F666E3
triadic
#C166F6 #F6C166 #66F6C1
tetradic
#C166F6 #F67966 #9BF666 #66E3F6
square
#C166F6 #F67966 #9BF666 #66E3F6
split-complementary
#C166F6 #E3F666 #66F679
monochromatic
#8B0DD5 #AA2CF3 #C166F6 #D8A0F9 #F0DAFD
Accessibility & contrast
On white
3.23
#C166F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#C166F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166F6
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166F6 | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#328BFB
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#BB81A5
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c166f6; /* rgb */ color: rgb(193, 102, 246); /* oklch */ color: oklch(67.6% 0.216 311.1);
Tailwind
colors: {
custom: {
50: '#d796fa',
500: '#c166f6',
950: '#000000',
},
}SCSS
$custom: #c166f6; $custom-light: #d796fa; $custom-dark: #000000;
JSON
{
"hex": "#c166f6",
"rgb": {
"r": 193,
"g": 102,
"b": 246
},
"hsl": {
"h": 277.917,
"s": 88.889,
"l": 68.235
},
"oklch": {
"l": 0.67582,
"c": 0.21554,
"h": 311.1
},
"luminance": 0.27494
}Semantic roles & 50–950 ramp
primary
#C166F6
secondary
#D6F2C6
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85