#C166F5#C166F5
#C166F5 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.5% C 0.215 H 311.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C166F5 |
|---|---|
| RGB | rgb(193, 102, 245) |
| HSL | hsl(278, 88%, 68%) |
| HSV | hsv(278, 58%, 96%) |
| CMYK | cmyk(21.2%, 58.4%, 0%, 3.9%) |
| CIE-LAB | lab(59.37, 59.61, -57.32) |
| CIE-LCH | lch(59.37, 82.69, 316.12°) |
| OKLab | oklab(67.52% 0.1417 -0.1611) |
| OKLCH | oklch(67.52% 0.215 311.3) |
| XYZ | xyz(43.2221, 27.4337, 89.3869) |
| Luminance | 0.2743 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.67
Bright Lilac
#C95EFB
ΔE00 1.75
Easter Purple
#C071FE
ΔE00 2.72
Light Urple
#B36FF6
ΔE00 3.03
Light Purple
#BF77F6
ΔE00 3.67
Heliotrope
#D94FF5
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166F5 #9AF566
analogous
#7966F5 #C166F5 #F566E1
triadic
#C166F5 #F5C166 #66F5C1
tetradic
#C166F5 #F57966 #9AF566 #66E1F5
square
#C166F5 #F57966 #9AF566 #66E1F5
split-complementary
#C166F5 #E1F566 #66F579
monochromatic
#8B0ED3 #AA2DF1 #C166F5 #D89FF9 #F0D9FD
Accessibility & contrast
On white
3.24
#C166F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#C166F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166F5
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166F5 | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#348AFA
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#BB80A4
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c166f5; /* rgb */ color: rgb(193, 102, 245); /* oklch */ color: oklch(67.5% 0.215 311.3);
Tailwind
colors: {
custom: {
50: '#d796f9',
500: '#c166f5',
950: '#000000',
},
}SCSS
$custom: #c166f5; $custom-light: #d796f9; $custom-dark: #000000;
JSON
{
"hex": "#c166f5",
"rgb": {
"r": 193,
"g": 102,
"b": 245
},
"hsl": {
"h": 278.182,
"s": 87.73,
"l": 68.039
},
"oklch": {
"l": 0.67523,
"c": 0.21451,
"h": 311.3
},
"luminance": 0.27433
}Semantic roles & 50–950 ramp
primary
#C166F5
secondary
#D5F1C6
accent
#E40154
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85