#EB56E4#EB56E4

#EB56E4 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 70.0% C 0.240 H 329.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#EB56E4
RGBrgb(235, 86, 228)
HSLhsl(303, 79%, 63%)
HSVhsv(303, 63%, 92%)
CMYKcmyk(0%, 63.4%, 3%, 7.8%)
CIE-LABlab(61.59, 73.44, -43.98)
CIE-LCHlch(61.59, 85.60, 329.08°)
OKLaboklab(70.01% 0.2074 -0.1211)
OKLCHoklch(70.01% 0.24 329.7)
XYZxyz(51.5919, 29.9229, 76.4421)
Luminance0.2992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB56E4 #56EB5D
analogous
#A856EB #EB56E4 #EB5699
triadic
#EB56E4 #E4EB56 #56E4EB
tetradic
#EB56E4 #EBA856 #56EB5D #5699EB
square
#EB56E4 #EBA856 #56EB5D #5699EB
split-complementary
#EB56E4 #99EB56 #56EBA8
monochromatic
#B215AA #E51FDB #EB56E4 #F18DED #F8C3F5

Accessibility & contrast

On white

3.01
#EB56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#EB56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB56E4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB56E4#FFFFFF#000000##000000
##EB56E41.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888E8
Deuteranopia (green-blind)
#7E9CE0
Tritanopia (blue-blind)
#F36796
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #eb56e4;
/* rgb */ color: rgb(235, 86, 228);
/* oklch */ color: oklch(70.0% 0.240 329.7);
Tailwind
colors: {
  custom: {
    50: '#f590ed',
    500: '#eb56e4',
    950: '#000000',
  },
}
SCSS
$custom: #eb56e4;
$custom-light: #f590ed;
$custom-dark: #000000;
JSON
{
  "hex": "#eb56e4",
  "rgb": {
    "r": 235,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 302.819,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.70007,
    "c": 0.24014,
    "h": 329.7
  },
  "luminance": 0.29919
}

Semantic roles & 50–950 ramp

primary
#EB56E4
secondary
#B4E9B6
accent
#DB140A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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