#C271F5#C271F5
#C271F5 is a light, vivid violet. Relative luminance 0.299; OKLCH L 69.1% C 0.199 H 310.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C271F5 |
|---|---|
| RGB | rgb(194, 113, 245) |
| HSL | hsl(277, 87%, 70%) |
| HSV | hsv(277, 54%, 96%) |
| CMYK | cmyk(20.8%, 53.9%, 0%, 3.9%) |
| CIE-LAB | lab(61.54, 54.39, -53.85) |
| CIE-LCH | lch(61.54, 76.54, 315.29°) |
| OKLab | oklab(69.14% 0.1292 -0.1509) |
| OKLCH | oklch(69.14% 0.199 310.6) |
| XYZ | xyz(44.6316, 29.8730, 89.7834) |
| Luminance | 0.2987 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.43
Easter Purple
#C071FE
ΔE00 1.51
Light Urple
#B36FF6
ΔE00 2.92
Bright Lavender
#C760FF
ΔE00 3.47
Bright Lilac
#C95EFB
ΔE00 3.69
Heliotrope
#D94FF5
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C271F5 #A4F571
analogous
#8071F5 #C271F5 #F571E6
triadic
#C271F5 #F5C271 #71F5C2
tetradic
#C271F5 #F58071 #A4F571 #71E6F5
square
#C271F5 #F58071 #A4F571 #71E6F5
split-complementary
#C271F5 #E6F571 #71F580
monochromatic
#8D10DC #A938F1 #C271F5 #DBAAF9 #F3E2FD
Accessibility & contrast
On white
3.01
#C271F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#C271F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C271F5
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C271F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C271F5 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#6696F2
Tritanopia (blue-blind)
#BC88A9
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c271f5; /* rgb */ color: rgb(194, 113, 245); /* oklch */ color: oklch(69.1% 0.199 310.6);
Tailwind
colors: {
custom: {
50: '#d79df9',
500: '#c271f5',
950: '#000000',
},
}SCSS
$custom: #c271f5; $custom-light: #d79df9; $custom-dark: #000000;
JSON
{
"hex": "#c271f5",
"rgb": {
"r": 194,
"g": 113,
"b": 245
},
"hsl": {
"h": 276.818,
"s": 86.842,
"l": 70.196
},
"oklch": {
"l": 0.69138,
"c": 0.19869,
"h": 310.6
},
"luminance": 0.29872
}Semantic roles & 50–950 ramp
primary
#C271F5
secondary
#DDF3CF
accent
#E30259
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85