#C371FA#C371FA
#C371FA is a light, highly saturated violet. Relative luminance 0.303; OKLCH L 69.5% C 0.204 H 309.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C371FA |
|---|---|
| RGB | rgb(195, 113, 250) |
| HSL | hsl(276, 93%, 71%) |
| HSV | hsv(276, 55%, 98%) |
| CMYK | cmyk(22%, 54.8%, 0%, 2%) |
| CIE-LAB | lab(61.93, 55.72, -56.00) |
| CIE-LCH | lch(61.93, 78.99, 314.86°) |
| OKLab | oklab(69.53% 0.1306 -0.1572) |
| OKLCH | oklch(69.53% 0.204 309.7) |
| XYZ | xyz(45.6628, 30.3153, 93.8699) |
| Luminance | 0.3031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.93
Light Purple
#BF77F6
ΔE00 1.48
Light Urple
#B36FF6
ΔE00 2.90
Bright Lavender
#C760FF
ΔE00 3.30
Bright Lilac
#C95EFB
ΔE00 3.65
Heliotrope
#D94FF5
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C371FA #A8FA71
analogous
#7E71FA #C371FA #FA71ED
triadic
#C371FA #FAC371 #71FAC3
tetradic
#C371FA #FA7E71 #A8FA71 #71EDFA
square
#C371FA #FA7E71 #A8FA71 #71EDFA
split-complementary
#C371FA #EDFA71 #71FA7E
monochromatic
#8E08E8 #AA36F8 #C371FA #DCACFC #F3E1FE
Accessibility & contrast
On white
2.97
#C371FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#C371FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C371FA
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C371FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C371FA | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#BC89AB
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c371fa; /* rgb */ color: rgb(195, 113, 250); /* oklch */ color: oklch(69.5% 0.204 309.7);
Tailwind
colors: {
custom: {
50: '#d89dfc',
500: '#c371fa',
950: '#000000',
},
}SCSS
$custom: #c371fa; $custom-light: #d89dfc; $custom-dark: #000000;
JSON
{
"hex": "#c371fa",
"rgb": {
"r": 195,
"g": 113,
"b": 250
},
"hsl": {
"h": 275.912,
"s": 93.197,
"l": 71.176
},
"oklch": {
"l": 0.6953,
"c": 0.2044,
"h": 309.7
},
"luminance": 0.30314
}Semantic roles & 50–950 ramp
primary
#C371FA
secondary
#E0F5D1
accent
#E6005C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86