#EB54EF#EB54EF

#EB54EF is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.4% C 0.251 H 326.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#EB54EF
RGBrgb(235, 84, 239)
HSLhsl(298, 83%, 63%)
HSVhsv(298, 65%, 94%)
CMYKcmyk(1.7%, 64.9%, 0%, 6.3%)
CIE-LABlab(61.86, 75.97, -49.69)
CIE-LCHlch(61.86, 90.78, 326.81°)
OKLaboklab(70.38% 0.2101 -0.1376)
OKLCHoklch(70.38% 0.251 326.8)
XYZxyz(53.0103, 30.2383, 84.6891)
Luminance0.3024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB54EF #58EF54
analogous
#9E54EF #EB54EF #EF54A5
triadic
#EB54EF #EFEB54 #54EFEB
tetradic
#EB54EF #EF9E54 #58EF54 #54A5EF
square
#EB54EF #EF9E54 #58EF54 #54A5EF
split-complementary
#EB54EF #A5EF54 #54EF9E
monochromatic
#B311B7 #E41CEA #EB54EF #F28CF4 #F8C4F9

Accessibility & contrast

On white

2.98
#EB54EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#EB54EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB54EF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB54EF#FFFFFF#000000##000000
##EB54EF1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F4
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#F16A9B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #eb54ef;
/* rgb */ color: rgb(235, 84, 239);
/* oklch */ color: oklch(70.4% 0.251 326.8);
Tailwind
colors: {
  custom: {
    50: '#f58ff5',
    500: '#eb54ef',
    950: '#000000',
  },
}
SCSS
$custom: #eb54ef;
$custom-light: #f58ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#eb54ef",
  "rgb": {
    "r": 235,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 298.452,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.7038,
    "c": 0.25113,
    "h": 326.8
  },
  "luminance": 0.30235
}

Semantic roles & 50–950 ramp

primary
#EB54EF
secondary
#B5EBB4
accent
#DF060C
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180D17
muted
#867E85

Preview Lab

Preview with #EB54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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