#C170F6#C170F6
#C170F6 is a light, highly saturated violet. Relative luminance 0.296; OKLCH L 68.9% C 0.201 H 310.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C170F6 |
|---|---|
| RGB | rgb(193, 112, 246) |
| HSL | hsl(276, 88%, 70%) |
| HSV | hsv(276, 54%, 96%) |
| CMYK | cmyk(21.5%, 54.5%, 0%, 3.5%) |
| CIE-LAB | lab(61.29, 54.86, -54.81) |
| CIE-LCH | lch(61.29, 77.55, 315.03°) |
| OKLab | oklab(68.94% 0.1293 -0.1538) |
| OKLCH | oklch(68.94% 0.201 310.1) |
| XYZ | xyz(44.4179, 29.5804, 90.5406) |
| Luminance | 0.2958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.29
Light Purple
#BF77F6
ΔE00 1.57
Light Urple
#B36FF6
ΔE00 2.63
Bright Lavender
#C760FF
ΔE00 3.22
Bright Lilac
#C95EFB
ΔE00 3.50
Heliotrope
#D94FF5
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170F6 #A5F670
analogous
#7E70F6 #C170F6 #F670E8
triadic
#C170F6 #F6C170 #70F6C1
tetradic
#C170F6 #F67E70 #A5F670 #70E8F6
square
#C170F6 #F67E70 #A5F670 #70E8F6
split-complementary
#C170F6 #E8F670 #70F67E
monochromatic
#8C0EDE #A836F2 #C170F6 #DAAAFA #F3E2FD
Accessibility & contrast
On white
3.04
#C170F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#C170F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170F6
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170F6 | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4790FA
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#BA88A9
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c170f6; /* rgb */ color: rgb(193, 112, 246); /* oklch */ color: oklch(68.9% 0.201 310.1);
Tailwind
colors: {
custom: {
50: '#d79cfa',
500: '#c170f6',
950: '#000000',
},
}SCSS
$custom: #c170f6; $custom-light: #d79cfa; $custom-dark: #000000;
JSON
{
"hex": "#c170f6",
"rgb": {
"r": 193,
"g": 112,
"b": 246
},
"hsl": {
"h": 276.269,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.68944,
"c": 0.20092,
"h": 310.1
},
"luminance": 0.2958
}Semantic roles & 50–950 ramp
primary
#C170F6
secondary
#DDF3CE
accent
#E5015B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85