#C271F6#C271F6
#C271F6 is a light, vivid violet. Relative luminance 0.299; OKLCH L 69.2% C 0.200 H 310.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C271F6 |
|---|---|
| RGB | rgb(194, 113, 246) |
| HSL | hsl(277, 88%, 70%) |
| HSV | hsv(277, 54%, 96%) |
| CMYK | cmyk(21.1%, 54.1%, 0%, 3.5%) |
| CIE-LAB | lab(61.60, 54.60, -54.32) |
| CIE-LCH | lch(61.60, 77.02, 315.15°) |
| OKLab | oklab(69.19% 0.1293 -0.1523) |
| OKLCH | oklch(69.19% 0.2 310.3) |
| XYZ | xyz(44.7847, 29.9342, 90.5896) |
| Luminance | 0.2993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.36
Light Purple
#BF77F6
ΔE00 1.40
Light Urple
#B36FF6
ΔE00 2.87
Bright Lavender
#C760FF
ΔE00 3.42
Bright Lilac
#C95EFB
ΔE00 3.68
Heliotrope
#D94FF5
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C271F6 #A5F671
analogous
#7F71F6 #C271F6 #F671E8
triadic
#C271F6 #F6C271 #71F6C2
tetradic
#C271F6 #F67F71 #A5F671 #71E8F6
square
#C271F6 #F67F71 #A5F671 #71E8F6
split-complementary
#C271F6 #E8F671 #71F67F
monochromatic
#8D0EDE #A937F2 #C271F6 #DBABFA #F3E2FD
Accessibility & contrast
On white
3.01
#C271F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#C271F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C271F6
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C271F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C271F6 | 1.00 | 3.01 | 6.99 | 6.99 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#6596F3
Tritanopia (blue-blind)
#BB88A9
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c271f6; /* rgb */ color: rgb(194, 113, 246); /* oklch */ color: oklch(69.2% 0.200 310.3);
Tailwind
colors: {
custom: {
50: '#d79dfa',
500: '#c271f6',
950: '#000000',
},
}SCSS
$custom: #c271f6; $custom-light: #d79dfa; $custom-dark: #000000;
JSON
{
"hex": "#c271f6",
"rgb": {
"r": 194,
"g": 113,
"b": 246
},
"hsl": {
"h": 276.541,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.69194,
"c": 0.19976,
"h": 310.3
},
"luminance": 0.29933
}Semantic roles & 50–950 ramp
primary
#C271F6
secondary
#DDF4CF
accent
#E5015A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85