#C166FA#C166FA
#C166FA is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.8% C 0.220 H 310.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C166FA |
|---|---|
| RGB | rgb(193, 102, 250) |
| HSL | hsl(277, 94%, 69%) |
| HSV | hsv(277, 59%, 98%) |
| CMYK | cmyk(22.8%, 59.2%, 0%, 2%) |
| CIE-LAB | lab(59.66, 60.67, -59.63) |
| CIE-LCH | lch(59.66, 85.07, 315.50°) |
| OKLab | oklab(67.82% 0.1417 -0.1678) |
| OKLCH | oklch(67.82% 0.22 310.2) |
| XYZ | xyz(43.9957, 27.7432, 93.4613) |
| Luminance | 0.2774 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.33
Bright Lilac
#C95EFB
ΔE00 1.75
Easter Purple
#C071FE
ΔE00 2.39
Light Urple
#B36FF6
ΔE00 2.85
Light Purple
#BF77F6
ΔE00 3.65
Heliotrope
#D94FF5
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166FA #9FFA66
analogous
#7766FA #C166FA #FA66E9
triadic
#C166FA #FAC166 #66FAC1
tetradic
#C166FA #FA7766 #9FFA66 #66E9FA
square
#C166FA #FA7766 #9FFA66 #66E9FA
split-complementary
#C166FA #E9FA66 #66FA77
monochromatic
#8C07DE #A92BF8 #C166FA #D9A1FC #F1DDFE
Accessibility & contrast
On white
3.21
#C166FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#C166FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166FA
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166FA | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C8CFF
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#BA82A7
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c166fa; /* rgb */ color: rgb(193, 102, 250); /* oklch */ color: oklch(67.8% 0.220 310.2);
Tailwind
colors: {
custom: {
50: '#d796fd',
500: '#c166fa',
950: '#000000',
},
}SCSS
$custom: #c166fa; $custom-light: #d796fd; $custom-dark: #000000;
JSON
{
"hex": "#c166fa",
"rgb": {
"r": 193,
"g": 102,
"b": 250
},
"hsl": {
"h": 276.892,
"s": 93.671,
"l": 69.02
},
"oklch": {
"l": 0.67819,
"c": 0.21966,
"h": 310.2
},
"luminance": 0.27742
}Semantic roles & 50–950 ramp
primary
#C166FA
secondary
#D9F4C8
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86