#EA7FE2#EA7FE2
#EA7FE2 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.8% C 0.178 H 330.0°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #EA7FE2 |
|---|---|
| RGB | rgb(234, 127, 226) |
| HSL | hsl(304, 72%, 71%) |
| HSV | hsv(304, 46%, 92%) |
| CMYK | cmyk(0%, 45.7%, 3.4%, 8.2%) |
| CIE-LAB | lab(68.14, 54.60, -32.64) |
| CIE-LCH | lch(68.14, 63.61, 329.13°) |
| OKLab | oklab(74.77% 0.154 -0.089) |
| OKLCH | oklch(74.77% 0.178 330) |
| XYZ | xyz(55.2479, 38.1652, 76.3933) |
| Luminance | 0.3816 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.95
Purply Pink
#F075E6
ΔE00 2.11
Lavender Pink
#DD85D7
ΔE00 2.84
Orchid
#DA70D6
ΔE00 4.41
Candy Pink
#FF63E9
ΔE00 5.06
Light Magenta
#FA5FF7
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EA7FE2 #7FEA87
analogous
#BC7FEA #EA7FE2 #EA7FAC
triadic
#EA7FE2 #E2EA7F #7FE2EA
tetradic
#EA7FE2 #EABC7F #7FEA87 #7FACEA
square
#EA7FE2 #EABC7F #7FEA87 #7FACEA
split-complementary
#EA7FE2 #ACEA7F #7FEABC
monochromatic
#CD22C0 #E14AD6 #EA7FE2 #F3B4EE #FBE5F9
Accessibility & contrast
On white
2.43
#EA7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#EA7FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EA7FE2
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EA7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EA7FE2 | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#799DE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F188A6
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #ea7fe2; /* rgb */ color: rgb(234, 127, 226); /* oklch */ color: oklch(74.8% 0.178 330.0);
Tailwind
colors: {
custom: {
50: '#f3a7eb',
500: '#ea7fe2',
950: '#000000',
},
}SCSS
$custom: #ea7fe2; $custom-light: #f3a7eb; $custom-dark: #000000;
JSON
{
"hex": "#ea7fe2",
"rgb": {
"r": 234,
"g": 127,
"b": 226
},
"hsl": {
"h": 304.486,
"s": 71.812,
"l": 70.784
},
"oklch": {
"l": 0.74768,
"c": 0.17784,
"h": 330
},
"luminance": 0.38162
}Semantic roles & 50–950 ramp
primary
#EA7FE2
secondary
#D4F1D6
accent
#D42012
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84