#C170F1#C170F1
#C170F1 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.7% C 0.196 H 311.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C170F1 |
|---|---|
| RGB | rgb(193, 112, 241) |
| HSL | hsl(278, 82%, 69%) |
| HSV | hsv(278, 54%, 95%) |
| CMYK | cmyk(19.9%, 53.5%, 0%, 5.5%) |
| CIE-LAB | lab(61.03, 53.79, -52.47) |
| CIE-LCH | lch(61.03, 75.14, 315.71°) |
| OKLab | oklab(68.66% 0.129 -0.1469) |
| OKLCH | oklch(68.66% 0.196 311.3) |
| XYZ | xyz(43.6608, 29.2776, 86.5532) |
| Luminance | 0.2928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.81
Easter Purple
#C071FE
ΔE00 2.05
Light Urple
#B36FF6
ΔE00 2.99
Bright Lavender
#C760FF
ΔE00 3.52
Bright Lilac
#C95EFB
ΔE00 3.63
Heliotrope
#D94FF5
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170F1 #A0F170
analogous
#8170F1 #C170F1 #F170E1
triadic
#C170F1 #F1C170 #70F1C1
tetradic
#C170F1 #F18170 #A0F170 #70E1F1
square
#C170F1 #F18170 #A0F170 #70E1F1
split-complementary
#C170F1 #E1F170 #70F181
monochromatic
#8C15D2 #A938EC #C170F1 #D9A8F6 #F1DFFC
Accessibility & contrast
On white
3.06
#C170F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#C170F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170F1
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170F1 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8FF5
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#BB86A6
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #c170f1; /* rgb */ color: rgb(193, 112, 241); /* oklch */ color: oklch(68.7% 0.196 311.3);
Tailwind
colors: {
custom: {
50: '#d69cf6',
500: '#c170f1',
950: '#000000',
},
}SCSS
$custom: #c170f1; $custom-light: #d69cf6; $custom-dark: #000000;
JSON
{
"hex": "#c170f1",
"rgb": {
"r": 193,
"g": 112,
"b": 241
},
"hsl": {
"h": 277.674,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.68663,
"c": 0.19554,
"h": 311.3
},
"luminance": 0.29277
}Semantic roles & 50–950 ramp
primary
#C170F1
secondary
#DAF1CC
accent
#DF0757
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85