#EB56D4#EB56D4

#EB56D4 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.2% C 0.228 H 334.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#EB56D4
RGBrgb(235, 86, 212)
HSLhsl(309, 79%, 63%)
HSVhsv(309, 63%, 92%)
CMYKcmyk(0%, 63.4%, 9.8%, 7.8%)
CIE-LABlab(60.85, 70.96, -36.15)
CIE-LCHlch(60.85, 79.64, 333.01°)
OKLaboklab(69.23% 0.2058 -0.0986)
OKLCHoklch(69.23% 0.228 334.4)
XYZxyz(49.4728, 29.0752, 65.2810)
Luminance0.2907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB56D4 #56EB6D
analogous
#B856EB #EB56D4 #EB5689
triadic
#EB56D4 #D4EB56 #56D4EB
tetradic
#EB56D4 #EBB856 #56EB6D #5689EB
square
#EB56D4 #EBB856 #56EB6D #5689EB
split-complementary
#EB56D4 #89EB56 #56EBB8
monochromatic
#B21599 #E51FC6 #EB56D4 #F18DE2 #F8C3F0

Accessibility & contrast

On white

3.08
#EB56D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#EB56D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB56D4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB56D4#FFFFFF#000000##000000
##EB56D41.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D8
Deuteranopia (green-blind)
#859BD0
Tritanopia (blue-blind)
#F6618D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #eb56d4;
/* rgb */ color: rgb(235, 86, 212);
/* oklch */ color: oklch(69.2% 0.228 334.4);
Tailwind
colors: {
  custom: {
    50: '#f58fe1',
    500: '#eb56d4',
    950: '#000000',
  },
}
SCSS
$custom: #eb56d4;
$custom-light: #f58fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#eb56d4",
  "rgb": {
    "r": 235,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 309.262,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.22821,
    "h": 334.4
  },
  "luminance": 0.29071
}

Semantic roles & 50–950 ramp

primary
#EB56D4
secondary
#B4E9BC
accent
#DB2B0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EB56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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