#EB54E2#EB54E2

#EB54E2 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.7% C 0.241 H 330.3°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#EB54E2
RGBrgb(235, 84, 226)
HSLhsl(304, 79%, 63%)
HSVhsv(304, 64%, 92%)
CMYKcmyk(0%, 64.3%, 3.8%, 7.8%)
CIE-LABlab(61.22, 73.88, -43.44)
CIE-LCHlch(61.22, 85.71, 329.54°)
OKLaboklab(69.71% 0.2094 -0.1195)
OKLCHoklch(69.71% 0.241 330.3)
XYZxyz(51.1585, 29.4975, 74.9359)
Luminance0.2949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB54E2 #54EB5D
analogous
#A854EB #EB54E2 #EB5497
triadic
#EB54E2 #E2EB54 #54E2EB
tetradic
#EB54E2 #EBA854 #54EB5D #5497EB
square
#EB54E2 #EBA854 #54EB5D #5497EB
split-complementary
#EB54E2 #97EB54 #54EBA8
monochromatic
#B015A7 #E51DD9 #EB54E2 #F18BEB #F8C2F5

Accessibility & contrast

On white

3.04
#EB54E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#EB54E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB54E2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB54E2#FFFFFF#000000##000000
##EB54E21.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#7E9BDE
Tritanopia (blue-blind)
#F36594
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #eb54e2;
/* rgb */ color: rgb(235, 84, 226);
/* oklch */ color: oklch(69.7% 0.241 330.3);
Tailwind
colors: {
  custom: {
    50: '#f58feb',
    500: '#eb54e2',
    950: '#000000',
  },
}
SCSS
$custom: #eb54e2;
$custom-light: #f58feb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb54e2",
  "rgb": {
    "r": 235,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 303.576,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.24112,
    "h": 330.3
  },
  "luminance": 0.29494
}

Semantic roles & 50–950 ramp

primary
#EB54E2
secondary
#B2E9B5
accent
#DB170A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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