#EB51E7#EB51E7

#EB51E7 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.7% C 0.249 H 328.9°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#EB51E7
RGBrgb(235, 81, 231)
HSLhsl(302, 79%, 62%)
HSVhsv(302, 66%, 92%)
CMYKcmyk(0%, 65.5%, 1.7%, 7.8%)
CIE-LABlab(61.06, 75.79, -46.49)
CIE-LCHlch(61.06, 88.91, 328.48°)
OKLaboklab(69.68% 0.2129 -0.1283)
OKLCHoklch(69.68% 0.249 328.9)
XYZxyz(51.6267, 29.3202, 78.5260)
Luminance0.2932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51E7 #51EB55
analogous
#A251EB #EB51E7 #EB519A
triadic
#EB51E7 #E7EB51 #51E7EB
tetradic
#EB51E7 #EBA251 #51EB55 #519AEB
square
#EB51E7 #EBA251 #51EB55 #519AEB
split-complementary
#EB51E7 #9AEB51 #51EBA2
monochromatic
#AE14AA #E51ADF #EB51E7 #F188EF #F8BFF6

Accessibility & contrast

On white

3.06
#EB51E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#EB51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51E7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51E7#FFFFFF#000000##000000
##EB51E71.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#7A9BE3
Tritanopia (blue-blind)
#F36596
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #eb51e7;
/* rgb */ color: rgb(235, 81, 231);
/* oklch */ color: oklch(69.7% 0.249 328.9);
Tailwind
colors: {
  custom: {
    50: '#f58def',
    500: '#eb51e7',
    950: '#000000',
  },
}
SCSS
$custom: #eb51e7;
$custom-light: #f58def;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51e7",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 301.558,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.69675,
    "c": 0.24857,
    "h": 328.9
  },
  "luminance": 0.29317
}

Semantic roles & 50–950 ramp

primary
#EB51E7
secondary
#B0E8B1
accent
#DC0F0A
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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