#E252E6#E252E6
#E252E6 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.5% C 0.242 H 326.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #E252E6 |
|---|---|
| RGB | rgb(226, 82, 230) |
| HSL | hsl(298, 75%, 61%) |
| HSV | hsv(298, 64%, 90%) |
| CMYK | cmyk(1.7%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(59.82, 73.20, -47.99) |
| CIE-LCH | lch(59.82, 87.53, 326.75°) |
| OKLab | oklab(68.5% 0.2023 -0.1329) |
| OKLCH | oklch(68.5% 0.242 326.7) |
| XYZ | xyz(48.6634, 27.9197, 77.6735) |
| Luminance | 0.2792 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.22
Pinkish Purple
#D648D7
ΔE00 3.59
Pink Purple
#EF1DE7
ΔE00 4.32
Purpleish Pink
#DF4EC8
ΔE00 4.76
Bright Magenta
#FF08E8
ΔE00 4.89
Magenta
#FF00FF
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E252E6 #56E652
analogous
#9852E6 #E252E6 #E652A0
triadic
#E252E6 #E6E252 #52E6E2
tetradic
#E252E6 #E69852 #56E652 #52A0E6
square
#E252E6 #E69852 #56E652 #52A0E6
split-complementary
#E252E6 #A0E652 #52E698
monochromatic
#A218A6 #D620DB #E252E6 #EB87EE #F4BDF5
Accessibility & contrast
On white
3.19
#E252E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#E252E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E252E6
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E252E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E252E6 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A84EA
Deuteranopia (green-blind)
#7397E2
Tritanopia (blue-blind)
#E86795
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e252e6; /* rgb */ color: rgb(226, 82, 230); /* oklch */ color: oklch(68.5% 0.242 326.7);
Tailwind
colors: {
custom: {
50: '#ef8dee',
500: '#e252e6',
950: '#000000',
},
}SCSS
$custom: #e252e6; $custom-light: #ef8dee; $custom-dark: #000000;
JSON
{
"hex": "#e252e6",
"rgb": {
"r": 226,
"g": 82,
"b": 230
},
"hsl": {
"h": 298.378,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.68496,
"c": 0.24207,
"h": 326.7
},
"luminance": 0.27917
}Semantic roles & 50–950 ramp
primary
#E252E6
secondary
#B0E6AE
accent
#D70F14
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84