#C166F0#C166F0
#C166F0 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.2% C 0.209 H 312.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C166F0 |
|---|---|
| RGB | rgb(193, 102, 240) |
| HSL | hsl(280, 82%, 67%) |
| HSV | hsv(280, 58%, 94%) |
| CMYK | cmyk(19.6%, 57.5%, 0%, 5.9%) |
| CIE-LAB | lab(59.10, 58.56, -54.98) |
| CIE-LCH | lch(59.10, 80.32, 316.80°) |
| OKLab | oklab(67.23% 0.1416 -0.1542) |
| OKLCH | oklch(67.23% 0.209 312.6) |
| XYZ | xyz(42.4691, 27.1325, 85.4211) |
| Luminance | 0.2713 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.04
Bright Lavender
#C760FF
ΔE00 2.22
Easter Purple
#C071FE
ΔE00 3.19
Light Urple
#B36FF6
ΔE00 3.38
Light Purple
#BF77F6
ΔE00 3.83
Heliotrope
#D94FF5
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166F0 #95F066
analogous
#7C66F0 #C166F0 #F066DA
triadic
#C166F0 #F0C166 #66F0C1
tetradic
#C166F0 #F07C66 #95F066 #66DAF0
square
#C166F0 #F07C66 #95F066 #66DAF0
split-complementary
#C166F0 #DAF066 #66F07C
monochromatic
#8B14C8 #AA2EEB #C166F0 #D89EF5 #EED5FB
Accessibility & contrast
On white
3.27
#C166F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#C166F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166F0
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166F0 | 1.00 | 3.27 | 6.43 | 6.43 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A89F4
Deuteranopia (green-blind)
#5E90ED
Tritanopia (blue-blind)
#BC7FA2
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c166f0; /* rgb */ color: rgb(193, 102, 240); /* oklch */ color: oklch(67.2% 0.209 312.6);
Tailwind
colors: {
custom: {
50: '#d796f5',
500: '#c166f0',
950: '#000000',
},
}SCSS
$custom: #c166f0; $custom-light: #d796f5; $custom-dark: #000000;
JSON
{
"hex": "#c166f0",
"rgb": {
"r": 193,
"g": 102,
"b": 240
},
"hsl": {
"h": 279.565,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.67231,
"c": 0.20937,
"h": 312.6
},
"luminance": 0.27131
}Semantic roles & 50–950 ramp
primary
#C166F0
secondary
#D2EFC3
accent
#DF0750
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85