#EC52E7#EC52E7

#EC52E7 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.9% C 0.248 H 329.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#EC52E7
RGBrgb(236, 82, 231)
HSLhsl(302, 80%, 62%)
HSVhsv(302, 65%, 93%)
CMYKcmyk(0%, 65.3%, 2.1%, 7.5%)
CIE-LABlab(61.34, 75.65, -46.04)
CIE-LCHlch(61.34, 88.56, 328.68°)
OKLaboklab(69.91% 0.2129 -0.127)
OKLCHoklch(69.91% 0.248 329.2)
XYZxyz(52.0327, 29.6407, 78.5665)
Luminance0.2964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52E7 #52EC57
analogous
#A452EC #EC52E7 #EC529A
triadic
#EC52E7 #E7EC52 #52E7EC
tetradic
#EC52E7 #ECA452 #52EC57 #529AEC
square
#EC52E7 #ECA452 #52EC57 #529AEC
split-complementary
#EC52E7 #9AEC52 #52ECA4
monochromatic
#B013AB #E61BDF #EC52E7 #F289EF #F8C0F6

Accessibility & contrast

On white

3.03
#EC52E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#EC52E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52E7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52E7#FFFFFF#000000##000000
##EC52E71.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#7B9BE3
Tritanopia (blue-blind)
#F46596
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec52e7;
/* rgb */ color: rgb(236, 82, 231);
/* oklch */ color: oklch(69.9% 0.248 329.2);
Tailwind
colors: {
  custom: {
    50: '#f68eef',
    500: '#ec52e7',
    950: '#000000',
  },
}
SCSS
$custom: #ec52e7;
$custom-light: #f68eef;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52e7",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 301.948,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.69907,
    "c": 0.24788,
    "h": 329.2
  },
  "luminance": 0.29637
}

Semantic roles & 50–950 ramp

primary
#EC52E7
secondary
#B1E9B3
accent
#DD1009
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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