#C371F0#C371F0
#C371F0 is a light, vivid violet. Relative luminance 0.297; OKLCH L 69.0% C 0.194 H 312.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C371F0 |
|---|---|
| RGB | rgb(195, 113, 240) |
| HSL | hsl(279, 81%, 69%) |
| HSV | hsv(279, 53%, 94%) |
| CMYK | cmyk(18.8%, 52.9%, 0%, 5.9%) |
| CIE-LAB | lab(61.40, 53.57, -51.31) |
| CIE-LCH | lch(61.40, 74.18, 316.24°) |
| OKLab | oklab(68.97% 0.1301 -0.1435) |
| OKLCH | oklch(68.97% 0.194 312.2) |
| XYZ | xyz(44.1362, 29.7046, 85.8297) |
| Luminance | 0.2970 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.87
Easter Purple
#C071FE
ΔE00 2.38
Light Urple
#B36FF6
ΔE00 3.49
Bright Lavender
#C760FF
ΔE00 3.83
Bright Lilac
#C95EFB
ΔE00 3.87
Heliotrope
#D94FF5
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C371F0 #9EF071
analogous
#8471F0 #C371F0 #F071DE
triadic
#C371F0 #F0C371 #71F0C3
tetradic
#C371F0 #F08471 #9EF071 #71DEF0
square
#C371F0 #F08471 #9EF071 #71DEF0
split-complementary
#C371F0 #DEF071 #71F084
monochromatic
#8E16D1 #AC3AEA #C371F0 #DAA8F6 #F2E0FC
Accessibility & contrast
On white
3.03
#C371F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#C371F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C371F0
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C371F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C371F0 | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#6A96ED
Tritanopia (blue-blind)
#BE86A6
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c371f0; /* rgb */ color: rgb(195, 113, 240); /* oklch */ color: oklch(69.0% 0.194 312.2);
Tailwind
colors: {
custom: {
50: '#d89df5',
500: '#c371f0',
950: '#000000',
},
}SCSS
$custom: #c371f0; $custom-light: #d89df5; $custom-dark: #000000;
JSON
{
"hex": "#c371f0",
"rgb": {
"r": 195,
"g": 113,
"b": 240
},
"hsl": {
"h": 278.74,
"s": 80.892,
"l": 69.216
},
"oklch": {
"l": 0.68971,
"c": 0.19367,
"h": 312.2
},
"luminance": 0.29704
}Semantic roles & 50–950 ramp
primary
#C371F0
secondary
#D9F1CC
accent
#DD0854
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85