#C170EF#C170EF
#C170EF is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.6% C 0.193 H 311.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #C170EF |
|---|---|
| RGB | rgb(193, 112, 239) |
| HSL | hsl(278, 80%, 69%) |
| HSV | hsv(278, 53%, 94%) |
| CMYK | cmyk(19.2%, 53.1%, 0%, 6.3%) |
| CIE-LAB | lab(60.92, 53.36, -51.52) |
| CIE-LCH | lch(60.92, 74.17, 316.00°) |
| OKLab | oklab(68.55% 0.1289 -0.1442) |
| OKLCH | oklch(68.55% 0.193 311.8) |
| XYZ | xyz(43.3637, 29.1587, 84.9885) |
| Luminance | 0.2916 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.98
Easter Purple
#C071FE
ΔE00 2.36
Light Urple
#B36FF6
ΔE00 3.18
Bright Lavender
#C760FF
ΔE00 3.69
Bright Lilac
#C95EFB
ΔE00 3.73
Heliotrope
#D94FF5
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170EF #9EEF70
analogous
#8270EF #C170EF #EF70DD
triadic
#C170EF #EFC170 #70EFC1
tetradic
#C170EF #EF8270 #9EEF70 #70DDEF
square
#C170EF #EF8270 #9EEF70 #70DDEF
split-complementary
#C170EF #DDEF70 #70EF82
monochromatic
#8B17CE #A939E9 #C170EF #D9A7F5 #F1DEFB
Accessibility & contrast
On white
3.07
#C170EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#C170EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170EF
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170EF | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#BC85A5
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #c170ef; /* rgb */ color: rgb(193, 112, 239); /* oklch */ color: oklch(68.6% 0.193 311.8);
Tailwind
colors: {
custom: {
50: '#d69cf5',
500: '#c170ef',
950: '#000000',
},
}SCSS
$custom: #c170ef; $custom-light: #d69cf5; $custom-dark: #000000;
JSON
{
"hex": "#c170ef",
"rgb": {
"r": 193,
"g": 112,
"b": 239
},
"hsl": {
"h": 278.268,
"s": 79.874,
"l": 68.824
},
"oklch": {
"l": 0.68552,
"c": 0.19339,
"h": 311.8
},
"luminance": 0.29158
}Semantic roles & 50–950 ramp
primary
#C170EF
secondary
#D8F0CB
accent
#DC0956
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85