#EB54D2#EB54D2

#EB54D2 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.9% C 0.229 H 335.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#EB54D2
RGBrgb(235, 84, 210)
HSLhsl(310, 79%, 63%)
HSVhsv(310, 64%, 92%)
CMYKcmyk(0%, 64.3%, 10.6%, 7.8%)
CIE-LABlab(60.48, 71.44, -35.59)
CIE-LCHlch(60.48, 79.81, 333.52°)
OKLaboklab(68.93% 0.2078 -0.097)
OKLCHoklch(68.93% 0.229 335)
XYZxyz(49.0646, 28.6600, 63.9081)
Luminance0.2866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB54D2 #54EB6D
analogous
#B954EB #EB54D2 #EB5486
triadic
#EB54D2 #D2EB54 #54D2EB
tetradic
#EB54D2 #EBB954 #54EB6D #5486EB
square
#EB54D2 #EBB954 #54EB6D #5486EB
split-complementary
#EB54D2 #86EB54 #54EBB9
monochromatic
#B01596 #E51DC4 #EB54D2 #F18BE0 #F8C2EF

Accessibility & contrast

On white

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

On black

6.73
#EB54D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB54D2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB54D2#FFFFFF#000000##000000
##EB54D21.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5483D6
Deuteranopia (green-blind)
#859ACE
Tritanopia (blue-blind)
#F65E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #eb54d2;
/* rgb */ color: rgb(235, 84, 210);
/* oklch */ color: oklch(68.9% 0.229 335.0);
Tailwind
colors: {
  custom: {
    50: '#f58ee0',
    500: '#eb54d2',
    950: '#000000',
  },
}
SCSS
$custom: #eb54d2;
$custom-light: #f58ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#eb54d2",
  "rgb": {
    "r": 235,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 309.934,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68932,
    "c": 0.22936,
    "h": 335
  },
  "luminance": 0.28656
}

Semantic roles & 50–950 ramp

primary
#EB54D2
secondary
#B2E9BB
accent
#DB2D0A
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EB54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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