#EB56E2#EB56E2

#EB56E2 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.9% C 0.239 H 330.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#EB56E2
RGBrgb(235, 86, 226)
HSLhsl(304, 79%, 63%)
HSVhsv(304, 63%, 92%)
CMYKcmyk(0%, 63.4%, 3.8%, 7.8%)
CIE-LABlab(61.49, 73.12, -43.01)
CIE-LCHlch(61.49, 84.83, 329.53°)
OKLaboklab(69.91% 0.2072 -0.1183)
OKLCHoklch(69.91% 0.239 330.3)
XYZxyz(51.3159, 29.8124, 74.9883)
Luminance0.2981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB56E2 #56EB5F
analogous
#A956EB #EB56E2 #EB5697
triadic
#EB56E2 #E2EB56 #56E2EB
tetradic
#EB56E2 #EBA956 #56EB5F #5697EB
square
#EB56E2 #EBA956 #56EB5F #5697EB
split-complementary
#EB56E2 #97EB56 #56EBA9
monochromatic
#B215A8 #E51FD9 #EB56E2 #F18DEB #F8C3F5

Accessibility & contrast

On white

3.02
#EB56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#EB56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB56E2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB56E2#FFFFFF#000000##000000
##EB56E21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#7F9CDE
Tritanopia (blue-blind)
#F36695
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #eb56e2;
/* rgb */ color: rgb(235, 86, 226);
/* oklch */ color: oklch(69.9% 0.239 330.3);
Tailwind
colors: {
  custom: {
    50: '#f590eb',
    500: '#eb56e2',
    950: '#000000',
  },
}
SCSS
$custom: #eb56e2;
$custom-light: #f590eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb56e2",
  "rgb": {
    "r": 235,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 303.624,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69907,
    "c": 0.23861,
    "h": 330.3
  },
  "luminance": 0.29809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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