#EB51E5#EB51E5

#EB51E5 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.6% C 0.247 H 329.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#EB51E5
RGBrgb(235, 81, 229)
HSLhsl(302, 79%, 62%)
HSVhsv(302, 66%, 92%)
CMYKcmyk(0%, 65.5%, 2.6%, 7.8%)
CIE-LABlab(60.96, 75.47, -45.52)
CIE-LCHlch(60.96, 88.14, 328.90°)
OKLaboklab(69.57% 0.2128 -0.1255)
OKLCHoklch(69.57% 0.247 329.5)
XYZxyz(51.3458, 29.2079, 77.0469)
Luminance0.2920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51E5 #51EB57
analogous
#A451EB #EB51E5 #EB5198
triadic
#EB51E5 #E5EB51 #51E5EB
tetradic
#EB51E5 #EBA451 #51EB57 #5198EB
square
#EB51E5 #EBA451 #51EB57 #5198EB
split-complementary
#EB51E5 #98EB51 #51EBA4
monochromatic
#AE14A8 #E51ADD #EB51E5 #F188ED #F8BFF5

Accessibility & contrast

On white

3.07
#EB51E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#EB51E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51E5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51E5#FFFFFF#000000##000000
##EB51E51.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4186E9
Deuteranopia (green-blind)
#7B9AE1
Tritanopia (blue-blind)
#F36495
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #eb51e5;
/* rgb */ color: rgb(235, 81, 229);
/* oklch */ color: oklch(69.6% 0.247 329.5);
Tailwind
colors: {
  custom: {
    50: '#f58dee',
    500: '#eb51e5',
    950: '#000000',
  },
}
SCSS
$custom: #eb51e5;
$custom-light: #f58dee;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51e5",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 302.338,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.24705,
    "h": 329.5
  },
  "luminance": 0.29204
}

Semantic roles & 50–950 ramp

primary
#EB51E5
secondary
#B0E8B2
accent
#DC120A
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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