#C271F0#C271F0
#C271F0 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.9% C 0.193 H 311.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C271F0 |
|---|---|
| RGB | rgb(194, 113, 240) |
| HSL | hsl(278, 81%, 69%) |
| HSV | hsv(278, 53%, 94%) |
| CMYK | cmyk(19.2%, 52.9%, 0%, 5.9%) |
| CIE-LAB | lab(61.28, 53.32, -51.50) |
| CIE-LCH | lch(61.28, 74.13, 316.00°) |
| OKLab | oklab(68.86% 0.1289 -0.1441) |
| OKLCH | oklch(68.86% 0.193 311.8) |
| XYZ | xyz(43.8786, 29.5718, 85.8176) |
| Luminance | 0.2957 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.79
Easter Purple
#C071FE
ΔE00 2.29
Light Urple
#B36FF6
ΔE00 3.31
Bright Lavender
#C760FF
ΔE00 3.80
Bright Lilac
#C95EFB
ΔE00 3.87
Heliotrope
#D94FF5
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C271F0 #9FF071
analogous
#8371F0 #C271F0 #F071DE
triadic
#C271F0 #F0C271 #71F0C2
tetradic
#C271F0 #F08371 #9FF071 #71DEF0
square
#C271F0 #F08371 #9FF071 #71DEF0
split-complementary
#C271F0 #DEF071 #71F083
monochromatic
#8D16D1 #AA3AEA #C271F0 #DAA8F6 #F2E0FC
Accessibility & contrast
On white
3.04
#C271F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#C271F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C271F0
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C271F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C271F0 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#6996ED
Tritanopia (blue-blind)
#BD86A6
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c271f0; /* rgb */ color: rgb(194, 113, 240); /* oklch */ color: oklch(68.9% 0.193 311.8);
Tailwind
colors: {
custom: {
50: '#d79cf5',
500: '#c271f0',
950: '#000000',
},
}SCSS
$custom: #c271f0; $custom-light: #d79cf5; $custom-dark: #000000;
JSON
{
"hex": "#c271f0",
"rgb": {
"r": 194,
"g": 113,
"b": 240
},
"hsl": {
"h": 278.268,
"s": 80.892,
"l": 69.216
},
"oklch": {
"l": 0.68861,
"c": 0.19331,
"h": 311.8
},
"luminance": 0.29571
}Semantic roles & 50–950 ramp
primary
#C271F0
secondary
#D9F1CC
accent
#DD0855
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85