#E271F2#E271F2
#E271F2 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.7% C 0.210 H 322.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #E271F2 |
|---|---|
| RGB | rgb(226, 113, 242) |
| HSL | hsl(293, 83%, 70%) |
| HSV | hsv(293, 53%, 95%) |
| CMYK | cmyk(6.6%, 53.3%, 0%, 5.1%) |
| CIE-LAB | lab(65.27, 61.99, -46.04) |
| CIE-LCH | lch(65.27, 77.22, 323.40°) |
| OKLab | oklab(72.66% 0.1663 -0.1275) |
| OKLCH | oklch(72.66% 0.21 322.5) |
| XYZ | xyz(53.2945, 34.3923, 87.8183) |
| Luminance | 0.3439 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.90
Violet Pink
#FB5FFC
ΔE00 3.95
Purply Pink
#F075E6
ΔE00 4.07
Orchid
#DA70D6
ΔE00 4.42
Violet (CSS)
#EE82EE
ΔE00 4.67
Candy Pink
#FF63E9
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271F2 #81F271
analogous
#A271F2 #E271F2 #F271C2
triadic
#E271F2 #F2E271 #71F2E2
tetradic
#E271F2 #F2A271 #81F271 #71C2F2
square
#E271F2 #F2A271 #81F271 #71C2F2
split-complementary
#E271F2 #C2F271 #71F2A2
monochromatic
#BD14D5 #D739ED #E271F2 #EDA9F7 #F9E1FC
Accessibility & contrast
On white
2.67
#E271F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#E271F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271F2
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271F2 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#E583A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e271f2; /* rgb */ color: rgb(226, 113, 242); /* oklch */ color: oklch(72.7% 0.210 322.5);
Tailwind
colors: {
custom: {
50: '#ee9ef7',
500: '#e271f2',
950: '#000000',
},
}SCSS
$custom: #e271f2; $custom-light: #ee9ef7; $custom-dark: #000000;
JSON
{
"hex": "#e271f2",
"rgb": {
"r": 226,
"g": 113,
"b": 242
},
"hsl": {
"h": 292.558,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.72662,
"c": 0.20953,
"h": 322.5
},
"luminance": 0.3439
}Semantic roles & 50–950 ramp
primary
#E271F2
secondary
#D2F2CD
accent
#E00621
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85