#EB51DB#EB51DB

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

Color values

HEX#EB51DB
RGBrgb(235, 81, 219)
HSLhsl(306, 79%, 62%)
HSVhsv(306, 66%, 92%)
CMYKcmyk(0%, 65.5%, 6.8%, 7.8%)
CIE-LABlab(60.49, 73.92, -40.66)
CIE-LCHlch(60.49, 84.37, 331.18°)
OKLaboklab(69.07% 0.2121 -0.1115)
OKLCHoklch(69.07% 0.24 332.3)
XYZxyz(49.9896, 28.6654, 69.9042)
Luminance0.2866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51DB #51EB61
analogous
#AE51EB #EB51DB #EB518E
triadic
#EB51DB #DBEB51 #51DBEB
tetradic
#EB51DB #EBAE51 #51EB61 #518EEB
square
#EB51DB #EBAE51 #51EB61 #518EEB
split-complementary
#EB51DB #8EEB51 #51EBAE
monochromatic
#AE149E #E51AD0 #EB51DB #F188E6 #F8BFF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB51DB#FFFFFF#000000##000000
##EB51DB1.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)
#4A84DF
Deuteranopia (green-blind)
#809AD7
Tritanopia (blue-blind)
#F5608F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #eb51db;
/* rgb */ color: rgb(235, 81, 219);
/* oklch */ color: oklch(69.1% 0.240 332.3);
Tailwind
colors: {
  custom: {
    50: '#f58de6',
    500: '#eb51db',
    950: '#000000',
  },
}
SCSS
$custom: #eb51db;
$custom-light: #f58de6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51db",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 306.234,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.69069,
    "c": 0.23962,
    "h": 332.3
  },
  "luminance": 0.28661
}

Semantic roles & 50–950 ramp

primary
#EB51DB
secondary
#B0E8B5
accent
#DC200A
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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