#E271FB#E271FB
#E271FB is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.1% C 0.218 H 320.1°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #E271FB |
|---|---|
| RGB | rgb(226, 113, 251) |
| HSL | hsl(289, 95%, 71%) |
| HSV | hsv(289, 55%, 98%) |
| CMYK | cmyk(10%, 55%, 0%, 1.6%) |
| CIE-LAB | lab(65.71, 63.66, -50.31) |
| CIE-LCH | lch(65.71, 81.14, 321.68°) |
| OKLab | oklab(73.12% 0.1671 -0.1398) |
| OKLCH | oklch(73.12% 0.218 320.1) |
| XYZ | xyz(54.6796, 34.9464, 95.1132) |
| Luminance | 0.3494 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.11
Light Magenta
#FA5FF7
ΔE00 4.29
Purply Pink
#F075E6
ΔE00 5.21
Violet (CSS)
#EE82EE
ΔE00 5.42
Orchid
#DA70D6
ΔE00 5.78
Light Purple
#BF77F6
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271FB #8AFB71
analogous
#9D71FB #E271FB #FB71CF
triadic
#E271FB #FBE271 #71FBE2
tetradic
#E271FB #FB9D71 #8AFB71 #71CFFB
square
#E271FB #FB9D71 #8AFB71 #71CFFB
split-complementary
#E271FB #CFFB71 #71FB9D
monochromatic
#C207EB #D635F9 #E271FB #EEADFD #F9E1FE
Accessibility & contrast
On white
2.63
#E271FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#E271FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271FB
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271FB | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#E385AC
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e271fb; /* rgb */ color: rgb(226, 113, 251); /* oklch */ color: oklch(73.1% 0.218 320.1);
Tailwind
colors: {
custom: {
50: '#ee9ffd',
500: '#e271fb',
950: '#000000',
},
}SCSS
$custom: #e271fb; $custom-light: #ee9ffd; $custom-dark: #000000;
JSON
{
"hex": "#e271fb",
"rgb": {
"r": 226,
"g": 113,
"b": 251
},
"hsl": {
"h": 289.13,
"s": 94.521,
"l": 71.373
},
"oklch": {
"l": 0.73122,
"c": 0.21789,
"h": 320.1
},
"luminance": 0.34944
}Semantic roles & 50–950 ramp
primary
#E271FB
secondary
#D8F6D2
accent
#E6002A
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86