#ED52E7#ED52E7

#ED52E7 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 70.0% C 0.248 H 329.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#ED52E7
RGBrgb(237, 82, 231)
HSLhsl(302, 81%, 63%)
HSVhsv(302, 65%, 93%)
CMYKcmyk(0%, 65.4%, 2.5%, 7.1%)
CIE-LABlab(61.49, 75.88, -45.79)
CIE-LCHlch(61.49, 88.62, 328.89°)
OKLaboklab(70.04% 0.2139 -0.1263)
OKLCHoklch(70.04% 0.248 329.4)
XYZxyz(52.3657, 29.8124, 78.5821)
Luminance0.2981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED52E7 #52ED58
analogous
#A652ED #ED52E7 #ED5299
triadic
#ED52E7 #E7ED52 #52E7ED
tetradic
#ED52E7 #EDA652 #52ED58 #5299ED
square
#ED52E7 #EDA652 #52ED58 #5299ED
split-complementary
#ED52E7 #99ED52 #52EDA6
monochromatic
#B213AC #E71BDF #ED52E7 #F389EF #F9C1F6

Accessibility & contrast

On white

3.02
#ED52E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#ED52E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED52E7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED52E7#FFFFFF#000000##000000
##ED52E71.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#7C9CE3
Tritanopia (blue-blind)
#F56596
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ed52e7;
/* rgb */ color: rgb(237, 82, 231);
/* oklch */ color: oklch(70.0% 0.248 329.4);
Tailwind
colors: {
  custom: {
    50: '#f78eef',
    500: '#ed52e7',
    950: '#000000',
  },
}
SCSS
$custom: #ed52e7;
$custom-light: #f78eef;
$custom-dark: #000000;
JSON
{
  "hex": "#ed52e7",
  "rgb": {
    "r": 237,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 302.323,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.24839,
    "h": 329.4
  },
  "luminance": 0.29809
}

Semantic roles & 50–950 ramp

primary
#ED52E7
secondary
#B1EAB3
accent
#DE1008
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #ED52E7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ED52E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva