#EB56D9#EB56D9

#EB56D9 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.5% C 0.232 H 332.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#EB56D9
RGBrgb(235, 86, 217)
HSLhsl(307, 79%, 63%)
HSVhsv(307, 63%, 92%)
CMYKcmyk(0%, 63.4%, 7.7%, 7.8%)
CIE-LABlab(61.07, 71.72, -38.62)
CIE-LCHlch(61.07, 81.46, 331.70°)
OKLaboklab(69.47% 0.2064 -0.1057)
OKLCHoklch(69.47% 0.232 332.9)
XYZxyz(50.1132, 29.3314, 68.6543)
Luminance0.2933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB56D9 #56EB68
analogous
#B256EB #EB56D9 #EB568F
triadic
#EB56D9 #D9EB56 #56D9EB
tetradic
#EB56D9 #EBB256 #56EB68 #568FEB
square
#EB56D9 #EBB256 #56EB68 #568FEB
split-complementary
#EB56D9 #8FEB56 #56EBB2
monochromatic
#B2159F #E51FCD #EB56D9 #F18DE5 #F8C3F2

Accessibility & contrast

On white

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

On black

6.87
#EB56D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB56D9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB56D9#FFFFFF#000000##000000
##EB56D91.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DD
Deuteranopia (green-blind)
#839BD5
Tritanopia (blue-blind)
#F56390
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #eb56d9;
/* rgb */ color: rgb(235, 86, 217);
/* oklch */ color: oklch(69.5% 0.232 332.9);
Tailwind
colors: {
  custom: {
    50: '#f58fe5',
    500: '#eb56d9',
    950: '#000000',
  },
}
SCSS
$custom: #eb56d9;
$custom-light: #f58fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#eb56d9",
  "rgb": {
    "r": 235,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 307.248,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69466,
    "c": 0.23186,
    "h": 332.9
  },
  "luminance": 0.29327
}

Semantic roles & 50–950 ramp

primary
#EB56D9
secondary
#B4E9BA
accent
#DB240A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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