#EB56DC#EB56DC

#EB56DC is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.6% C 0.234 H 332.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#EB56DC
RGBrgb(235, 86, 220)
HSLhsl(306, 79%, 63%)
HSVhsv(306, 63%, 92%)
CMYKcmyk(0%, 63.4%, 6.4%, 7.8%)
CIE-LABlab(61.21, 72.18, -40.09)
CIE-LCHlch(61.21, 82.57, 330.95°)
OKLaboklab(69.61% 0.2067 -0.1099)
OKLCHoklch(69.61% 0.234 332)
XYZxyz(50.5070, 29.4889, 70.7280)
Luminance0.2949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB56DC #56EB65
analogous
#AF56EB #EB56DC #EB5692
triadic
#EB56DC #DCEB56 #56DCEB
tetradic
#EB56DC #EBAF56 #56EB65 #5692EB
square
#EB56DC #EBAF56 #56EB65 #5692EB
split-complementary
#EB56DC #92EB56 #56EBAF
monochromatic
#B215A2 #E51FD1 #EB56DC #F18DE7 #F8C3F3

Accessibility & contrast

On white

3.04
#EB56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#EB56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB56DC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB56DC#FFFFFF#000000##000000
##EB56DC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#829BD8
Tritanopia (blue-blind)
#F46492
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #eb56dc;
/* rgb */ color: rgb(235, 86, 220);
/* oklch */ color: oklch(69.6% 0.234 332.0);
Tailwind
colors: {
  custom: {
    50: '#f58fe7',
    500: '#eb56dc',
    950: '#000000',
  },
}
SCSS
$custom: #eb56dc;
$custom-light: #f58fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb56dc",
  "rgb": {
    "r": 235,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 306.04,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69611,
    "c": 0.23408,
    "h": 332
  },
  "luminance": 0.29485
}

Semantic roles & 50–950 ramp

primary
#EB56DC
secondary
#B4E9B9
accent
#DB1F0A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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