#C171FA#C171FA
#C171FA is a light, highly saturated violet. Relative luminance 0.300; OKLCH L 69.3% C 0.204 H 309.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C171FA |
|---|---|
| RGB | rgb(193, 113, 250) |
| HSL | hsl(275, 93%, 71%) |
| HSV | hsv(275, 55%, 98%) |
| CMYK | cmyk(22.8%, 54.8%, 0%, 2%) |
| CIE-LAB | lab(61.70, 55.22, -56.37) |
| CIE-LCH | lch(61.70, 78.91, 314.41°) |
| OKLab | oklab(69.31% 0.1282 -0.1583) |
| OKLCH | oklch(69.31% 0.204 309) |
| XYZ | xyz(45.1494, 30.0505, 93.8458) |
| Luminance | 0.3005 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.67
Light Purple
#BF77F6
ΔE00 1.44
Light Urple
#B36FF6
ΔE00 2.55
Bright Lavender
#C760FF
ΔE00 3.31
Bright Lilac
#C95EFB
ΔE00 3.71
Heliotrope
#D94FF5
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C171FA #AAFA71
analogous
#7C71FA #C171FA #FA71EF
triadic
#C171FA #FAC171 #71FAC1
tetradic
#C171FA #FA7C71 #AAFA71 #71EFFA
square
#C171FA #FA7C71 #AAFA71 #71EFFA
split-complementary
#C171FA #EFFA71 #71FA7C
monochromatic
#8B08E8 #A736F8 #C171FA #DBACFC #F2E1FE
Accessibility & contrast
On white
3.00
#C171FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#C171FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C171FA
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C171FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C171FA | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#B98AAB
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c171fa; /* rgb */ color: rgb(193, 113, 250); /* oklch */ color: oklch(69.3% 0.204 309.0);
Tailwind
colors: {
custom: {
50: '#d79dfc',
500: '#c171fa',
950: '#000000',
},
}SCSS
$custom: #c171fa; $custom-light: #d79dfc; $custom-dark: #000000;
JSON
{
"hex": "#c171fa",
"rgb": {
"r": 193,
"g": 113,
"b": 250
},
"hsl": {
"h": 275.036,
"s": 93.197,
"l": 71.176
},
"oklch": {
"l": 0.69312,
"c": 0.20376,
"h": 309
},
"luminance": 0.3005
}Semantic roles & 50–950 ramp
primary
#C171FA
secondary
#E0F5D1
accent
#E6005F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86