#E751F2#E751F2
#E751F2 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.7% C 0.255 H 325.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #E751F2 |
|---|---|
| RGB | rgb(231, 81, 242) |
| HSL | hsl(296, 86%, 63%) |
| HSV | hsv(296, 67%, 95%) |
| CMYK | cmyk(4.5%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.03, 76.69, -52.70) |
| CIE-LCH | lch(61.03, 93.05, 325.50°) |
| OKLab | oklab(69.72% 0.209 -0.1464) |
| OKLCH | oklch(69.72% 0.255 325) |
| XYZ | xyz(51.9232, 29.2878, 86.9054) |
| Luminance | 0.2928 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.77
Magenta
#FF00FF
ΔE00 4.33
Fuchsia
#FF00FF
ΔE00 4.33
Light Magenta
#FA5FF7
ΔE00 4.44
Violet Pink
#FB5FFC
ΔE00 4.56
Pink Purple
#EF1DE7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E751F2 #5CF251
analogous
#9751F2 #E751F2 #F251AC
triadic
#E751F2 #F2E751 #51F2E7
tetradic
#E751F2 #F29751 #5CF251 #51ACF2
square
#E751F2 #F29751 #5CF251 #51ACF2
split-complementary
#E751F2 #ACF251 #51F297
monochromatic
#AF0EBB #DF18EE #E751F2 #EF8AF6 #F7C3FB
Accessibility & contrast
On white
3.06
#E751F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#E751F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E751F2
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E751F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E751F2 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D88F7
Deuteranopia (green-blind)
#709AEE
Tritanopia (blue-blind)
#EC6A9C
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #e751f2; /* rgb */ color: rgb(231, 81, 242); /* oklch */ color: oklch(69.7% 0.255 325.0);
Tailwind
colors: {
custom: {
50: '#f28df7',
500: '#e751f2',
950: '#000000',
},
}SCSS
$custom: #e751f2; $custom-light: #f28df7; $custom-dark: #000000;
JSON
{
"hex": "#e751f2",
"rgb": {
"r": 231,
"g": 81,
"b": 242
},
"hsl": {
"h": 295.901,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.6972,
"c": 0.25517,
"h": 325
},
"luminance": 0.29285
}Semantic roles & 50–950 ramp
primary
#E751F2
secondary
#B7ECB3
accent
#E30312
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#170D17
muted
#857E85