#EB52D7#EB52D7

#EB52D7 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 69.0% C 0.235 H 333.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#EB52D7
RGBrgb(235, 82, 215)
HSLhsl(308, 79%, 62%)
HSVhsv(308, 65%, 92%)
CMYKcmyk(0%, 65.1%, 8.5%, 7.8%)
CIE-LABlab(60.43, 72.94, -38.49)
CIE-LCHlch(60.43, 82.48, 332.18°)
OKLaboklab(68.97% 0.2106 -0.1053)
OKLCHoklch(68.97% 0.235 333.4)
XYZxyz(49.5442, 28.6070, 67.1891)
Luminance0.2860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB52D7 #52EB66
analogous
#B352EB #EB52D7 #EB528B
triadic
#EB52D7 #D7EB52 #52D7EB
tetradic
#EB52D7 #EBB352 #52EB66 #528BEB
square
#EB52D7 #EBB352 #52EB66 #528BEB
split-complementary
#EB52D7 #8BEB52 #52EBB3
monochromatic
#AE149A #E51BCA #EB52D7 #F189E4 #F8C0F0

Accessibility & contrast

On white

3.12
#EB52D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#EB52D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB52D7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB52D7#FFFFFF#000000##000000
##EB52D71.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DB
Deuteranopia (green-blind)
#829AD3
Tritanopia (blue-blind)
#F55F8E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #eb52d7;
/* rgb */ color: rgb(235, 82, 215);
/* oklch */ color: oklch(69.0% 0.235 333.4);
Tailwind
colors: {
  custom: {
    50: '#f58de3',
    500: '#eb52d7',
    950: '#000000',
  },
}
SCSS
$custom: #eb52d7;
$custom-light: #f58de3;
$custom-dark: #000000;
JSON
{
  "hex": "#eb52d7",
  "rgb": {
    "r": 235,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 307.843,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68971,
    "c": 0.23547,
    "h": 333.4
  },
  "luminance": 0.28603
}

Semantic roles & 50–950 ramp

primary
#EB52D7
secondary
#B0E8B8
accent
#DC250A
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EB52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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