#ED52EC#ED52EC

#ED52EC is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.3% C 0.252 H 328.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#ED52EC
RGBrgb(237, 82, 236)
HSLhsl(300, 81%, 63%)
HSVhsv(300, 65%, 93%)
CMYKcmyk(0%, 65.4%, 0.4%, 7.1%)
CIE-LABlab(61.74, 76.67, -48.19)
CIE-LCHlch(61.74, 90.56, 327.85°)
OKLaboklab(70.3% 0.2141 -0.1332)
OKLCHoklch(70.3% 0.252 328.1)
XYZxyz(53.0820, 30.0989, 82.3544)
Luminance0.3009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED52EC #52ED53
analogous
#A052ED #ED52EC #ED529F
triadic
#ED52EC #ECED52 #52ECED
tetradic
#ED52EC #EDA052 #52ED53 #529FED
square
#ED52EC #EDA052 #52ED53 #529FED
split-complementary
#ED52EC #9FED52 #52EDA0
monochromatic
#B213B1 #E71BE6 #ED52EC #F389F2 #F9C1F8

Accessibility & contrast

On white

2.99
#ED52EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#ED52EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED52EC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED52EC#FFFFFF#000000##000000
##ED52EC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#F46799
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ed52ec;
/* rgb */ color: rgb(237, 82, 236);
/* oklch */ color: oklch(70.3% 0.252 328.1);
Tailwind
colors: {
  custom: {
    50: '#f78ef3',
    500: '#ed52ec',
    950: '#000000',
  },
}
SCSS
$custom: #ed52ec;
$custom-light: #f78ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#ed52ec",
  "rgb": {
    "r": 237,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 300.387,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.70302,
    "c": 0.25219,
    "h": 328.1
  },
  "luminance": 0.30095
}

Semantic roles & 50–950 ramp

primary
#ED52EC
secondary
#B1EAB2
accent
#DE0908
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D17
muted
#867E85

Preview Lab

Preview with #ED52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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