#EB52D9#EB52D9

#EB52D9 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 69.1% C 0.237 H 332.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#EB52D9
RGBrgb(235, 82, 217)
HSLhsl(307, 79%, 62%)
HSVhsv(307, 65%, 92%)
CMYKcmyk(0%, 65.1%, 7.7%, 7.8%)
CIE-LABlab(60.53, 73.25, -39.47)
CIE-LCHlch(60.53, 83.21, 331.68°)
OKLaboklab(69.07% 0.2108 -0.1081)
OKLCHoklch(69.07% 0.237 332.9)
XYZxyz(49.8028, 28.7104, 68.5508)
Luminance0.2871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB52D9 #52EB64
analogous
#B152EB #EB52D9 #EB528C
triadic
#EB52D9 #D9EB52 #52D9EB
tetradic
#EB52D9 #EBB152 #52EB64 #528CEB
square
#EB52D9 #EBB152 #52EB64 #528CEB
split-complementary
#EB52D9 #8CEB52 #52EBB1
monochromatic
#AE149C #E51BCD #EB52D9 #F189E5 #F8C0F1

Accessibility & contrast

On white

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

On black

6.74
#EB52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB52D9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB52D9#FFFFFF#000000##000000
##EB52D91.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DD
Deuteranopia (green-blind)
#819AD5
Tritanopia (blue-blind)
#F5608F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #eb52d9;
/* rgb */ color: rgb(235, 82, 217);
/* oklch */ color: oklch(69.1% 0.237 332.9);
Tailwind
colors: {
  custom: {
    50: '#f58de5',
    500: '#eb52d9',
    950: '#000000',
  },
}
SCSS
$custom: #eb52d9;
$custom-light: #f58de5;
$custom-dark: #000000;
JSON
{
  "hex": "#eb52d9",
  "rgb": {
    "r": 235,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 307.059,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.69068,
    "c": 0.23692,
    "h": 332.9
  },
  "luminance": 0.28707
}

Semantic roles & 50–950 ramp

primary
#EB52D9
secondary
#B0E8B7
accent
#DC230A
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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