#EB52D6#EB52D6

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

Color values

HEX#EB52D6
RGBrgb(235, 82, 214)
HSLhsl(308, 79%, 62%)
HSVhsv(308, 65%, 92%)
CMYKcmyk(0%, 65.1%, 8.9%, 7.8%)
CIE-LABlab(60.39, 72.79, -38.00)
CIE-LCHlch(60.39, 82.11, 332.44°)
OKLaboklab(68.92% 0.2105 -0.1039)
OKLCHoklch(68.92% 0.235 333.7)
XYZxyz(49.4161, 28.5558, 66.5144)
Luminance0.2855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB52D6 #52EB67
analogous
#B352EB #EB52D6 #EB528A
triadic
#EB52D6 #D6EB52 #52D6EB
tetradic
#EB52D6 #EBB352 #52EB67 #528AEB
square
#EB52D6 #EBB352 #52EB67 #528AEB
split-complementary
#EB52D6 #8AEB52 #52EBB3
monochromatic
#AE1499 #E51BC9 #EB52D6 #F189E3 #F8C0F0

Accessibility & contrast

On white

3.13
#EB52D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#EB52D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB52D6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB52D6#FFFFFF#000000##000000
##EB52D61.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83DA
Deuteranopia (green-blind)
#829AD2
Tritanopia (blue-blind)
#F55E8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #eb52d6;
/* rgb */ color: rgb(235, 82, 214);
/* oklch */ color: oklch(68.9% 0.235 333.7);
Tailwind
colors: {
  custom: {
    50: '#f58de3',
    500: '#eb52d6',
    950: '#000000',
  },
}
SCSS
$custom: #eb52d6;
$custom-light: #f58de3;
$custom-dark: #000000;
JSON
{
  "hex": "#eb52d6",
  "rgb": {
    "r": 235,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 308.235,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68923,
    "c": 0.23475,
    "h": 333.7
  },
  "luminance": 0.28552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB52D6

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

Preview Lab → · Contrast checker → · Palette generator →

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