#C170ED#C170ED
#C170ED is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.4% C 0.191 H 312.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C170ED |
|---|---|
| RGB | rgb(193, 112, 237) |
| HSL | hsl(279, 78%, 68%) |
| HSV | hsv(279, 53%, 93%) |
| CMYK | cmyk(18.6%, 52.7%, 0%, 7.1%) |
| CIE-LAB | lab(60.82, 52.93, -50.58) |
| CIE-LCH | lch(60.82, 73.21, 316.30°) |
| OKLab | oklab(68.44% 0.1287 -0.1414) |
| OKLCH | oklch(68.44% 0.191 312.3) |
| XYZ | xyz(43.0699, 29.0412, 83.4410) |
| Luminance | 0.2904 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.19
Easter Purple
#C071FE
ΔE00 2.68
Light Urple
#B36FF6
ΔE00 3.39
Bright Lilac
#C95EFB
ΔE00 3.86
Bright Lavender
#C760FF
ΔE00 3.87
Heliotrope
#D94FF5
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170ED #9CED70
analogous
#8270ED #C170ED #ED70DA
triadic
#C170ED #EDC170 #70EDC1
tetradic
#C170ED #ED8270 #9CED70 #70DAED
square
#C170ED #ED8270 #9CED70 #70DAED
split-complementary
#C170ED #DAED70 #70ED82
monochromatic
#8B19C9 #A93AE6 #C170ED #D9A6F4 #F0DDFB
Accessibility & contrast
On white
3.08
#C170ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#C170ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170ED
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170ED | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#6995EA
Tritanopia (blue-blind)
#BC85A4
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #c170ed; /* rgb */ color: rgb(193, 112, 237); /* oklch */ color: oklch(68.4% 0.191 312.3);
Tailwind
colors: {
custom: {
50: '#d69cf3',
500: '#c170ed',
950: '#000000',
},
}SCSS
$custom: #c170ed; $custom-light: #d69cf3; $custom-dark: #000000;
JSON
{
"hex": "#c170ed",
"rgb": {
"r": 193,
"g": 112,
"b": 237
},
"hsl": {
"h": 278.88,
"s": 77.64,
"l": 68.431
},
"oklch": {
"l": 0.68443,
"c": 0.19125,
"h": 312.3
},
"luminance": 0.2904
}Semantic roles & 50–950 ramp
primary
#C170ED
secondary
#D7EFCA
accent
#DA0C54
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85