#C271EF#C271EF
#C271EF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.8% C 0.192 H 312.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C271EF |
|---|---|
| RGB | rgb(194, 113, 239) |
| HSL | hsl(279, 80%, 69%) |
| HSV | hsv(279, 53%, 94%) |
| CMYK | cmyk(18.8%, 52.7%, 0%, 6.3%) |
| CIE-LAB | lab(61.23, 53.10, -51.02) |
| CIE-LCH | lch(61.23, 73.64, 316.14°) |
| OKLab | oklab(68.81% 0.1288 -0.1427) |
| OKLCH | oklch(68.81% 0.192 312.1) |
| XYZ | xyz(43.7305, 29.5126, 85.0375) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.89
Easter Purple
#C071FE
ΔE00 2.44
Light Urple
#B36FF6
ΔE00 3.41
Bright Lavender
#C760FF
ΔE00 3.89
Bright Lilac
#C95EFB
ΔE00 3.93
Heliotrope
#D94FF5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C271EF #9EEF71
analogous
#8371EF #C271EF #EF71DD
triadic
#C271EF #EFC271 #71EFC2
tetradic
#C271EF #EF8371 #9EEF71 #71DDEF
square
#C271EF #EF8371 #9EEF71 #71DDEF
split-complementary
#C271EF #DDEF71 #71EF83
monochromatic
#8D17CE #AA3AE9 #C271EF #DAA8F5 #F1DFFB
Accessibility & contrast
On white
3.04
#C271EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#C271EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C271EF
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C271EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C271EF | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F90F3
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#BD86A6
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c271ef; /* rgb */ color: rgb(194, 113, 239); /* oklch */ color: oklch(68.8% 0.192 312.1);
Tailwind
colors: {
custom: {
50: '#d79cf5',
500: '#c271ef',
950: '#000000',
},
}SCSS
$custom: #c271ef; $custom-light: #d79cf5; $custom-dark: #000000;
JSON
{
"hex": "#c271ef",
"rgb": {
"r": 194,
"g": 113,
"b": 239
},
"hsl": {
"h": 278.571,
"s": 79.747,
"l": 69.02
},
"oklch": {
"l": 0.68806,
"c": 0.19223,
"h": 312.1
},
"luminance": 0.29512
}Semantic roles & 50–950 ramp
primary
#C271EF
secondary
#D9F0CB
accent
#DC0955
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85