#C166F3#C166F3
#C166F3 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.4% C 0.212 H 311.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C166F3 |
|---|---|
| RGB | rgb(193, 102, 243) |
| HSL | hsl(279, 85%, 68%) |
| HSV | hsv(279, 58%, 95%) |
| CMYK | cmyk(20.6%, 58%, 0%, 4.7%) |
| CIE-LAB | lab(59.26, 59.19, -56.38) |
| CIE-LCH | lch(59.26, 81.75, 316.39°) |
| OKLab | oklab(67.41% 0.1417 -0.1583) |
| OKLCH | oklch(67.41% 0.212 311.8) |
| XYZ | xyz(42.9184, 27.3123, 87.7876) |
| Luminance | 0.2731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.84
Bright Lavender
#C760FF
ΔE00 1.87
Easter Purple
#C071FE
ΔE00 2.89
Light Urple
#B36FF6
ΔE00 3.15
Light Purple
#BF77F6
ΔE00 3.71
Heliotrope
#D94FF5
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166F3 #98F366
analogous
#7A66F3 #C166F3 #F366DF
triadic
#C166F3 #F3C166 #66F3C1
tetradic
#C166F3 #F37A66 #98F366 #66DFF3
square
#C166F3 #F37A66 #98F366 #66DFF3
split-complementary
#C166F3 #DFF366 #66F37A
monochromatic
#8B10CE #AA2DEF #C166F3 #D89FF7 #EFD7FC
Accessibility & contrast
On white
3.25
#C166F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#C166F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166F3
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166F3 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368AF8
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#BB80A3
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c166f3; /* rgb */ color: rgb(193, 102, 243); /* oklch */ color: oklch(67.4% 0.212 311.8);
Tailwind
colors: {
custom: {
50: '#d796f8',
500: '#c166f3',
950: '#000000',
},
}SCSS
$custom: #c166f3; $custom-light: #d796f8; $custom-dark: #000000;
JSON
{
"hex": "#c166f3",
"rgb": {
"r": 193,
"g": 102,
"b": 243
},
"hsl": {
"h": 278.723,
"s": 85.455,
"l": 67.647
},
"oklch": {
"l": 0.67406,
"c": 0.21245,
"h": 311.8
},
"luminance": 0.27311
}Semantic roles & 50–950 ramp
primary
#C166F3
secondary
#D4F0C5
accent
#E20452
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85