#C170F7#C170F7
#C170F7 is a light, highly saturated violet. Relative luminance 0.296; OKLCH L 69.0% C 0.202 H 309.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C170F7 |
|---|---|
| RGB | rgb(193, 112, 247) |
| HSL | hsl(276, 89%, 70%) |
| HSV | hsv(276, 55%, 97%) |
| CMYK | cmyk(21.9%, 54.7%, 0%, 3.1%) |
| CIE-LAB | lab(61.34, 55.08, -55.28) |
| CIE-LCH | lch(61.34, 78.03, 314.90°) |
| OKLab | oklab(69% 0.1294 -0.1551) |
| OKLCH | oklch(69% 0.202 309.8) |
| XYZ | xyz(44.5718, 29.6420, 91.3511) |
| Luminance | 0.2964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.14
Light Purple
#BF77F6
ΔE00 1.57
Light Urple
#B36FF6
ΔE00 2.58
Bright Lavender
#C760FF
ΔE00 3.18
Bright Lilac
#C95EFB
ΔE00 3.49
Heliotrope
#D94FF5
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170F7 #A6F770
analogous
#7D70F7 #C170F7 #F770E9
triadic
#C170F7 #F7C170 #70F7C1
tetradic
#C170F7 #F77D70 #A6F770 #70E9F7
square
#C170F7 #F77D70 #A6F770 #70E9F7
split-complementary
#C170F7 #E9F770 #70F77D
monochromatic
#8B0DE0 #A836F4 #C170F7 #DAAAFA #F2E2FD
Accessibility & contrast
On white
3.03
#C170F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#C170F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170F7
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170F7 | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4690FB
Deuteranopia (green-blind)
#6295F4
Tritanopia (blue-blind)
#BA88A9
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c170f7; /* rgb */ color: rgb(193, 112, 247); /* oklch */ color: oklch(69.0% 0.202 309.8);
Tailwind
colors: {
custom: {
50: '#d79cfa',
500: '#c170f7',
950: '#000000',
},
}SCSS
$custom: #c170f7; $custom-light: #d79cfa; $custom-dark: #000000;
JSON
{
"hex": "#c170f7",
"rgb": {
"r": 193,
"g": 112,
"b": 247
},
"hsl": {
"h": 276,
"s": 89.404,
"l": 70.392
},
"oklch": {
"l": 0.69,
"c": 0.202,
"h": 309.8
},
"luminance": 0.29641
}Semantic roles & 50–950 ramp
primary
#C170F7
secondary
#DEF4CF
accent
#E6005C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85