#EB56E7#EB56E7

#EB56E7 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.2% C 0.242 H 328.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#EB56E7
RGBrgb(235, 86, 231)
HSLhsl(302, 79%, 63%)
HSVhsv(302, 63%, 92%)
CMYKcmyk(0%, 63.4%, 1.7%, 7.8%)
CIE-LABlab(61.73, 73.92, -45.43)
CIE-LCHlch(61.73, 86.76, 328.42°)
OKLaboklab(70.16% 0.2076 -0.1253)
OKLCHoklch(70.16% 0.242 328.9)
XYZxyz(52.0120, 30.0909, 78.6545)
Luminance0.3009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB56E7 #56EB5A
analogous
#A556EB #EB56E7 #EB569C
triadic
#EB56E7 #E7EB56 #56E7EB
tetradic
#EB56E7 #EBA556 #56EB5A #569CEB
square
#EB56E7 #EBA556 #56EB5A #569CEB
split-complementary
#EB56E7 #9CEB56 #56EBA5
monochromatic
#B215AD #E51FDF #EB56E7 #F18DEF #F8C3F7

Accessibility & contrast

On white

2.99
#EB56E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#EB56E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB56E7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB56E7#FFFFFF#000000##000000
##EB56E71.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EB
Deuteranopia (green-blind)
#7C9CE3
Tritanopia (blue-blind)
#F36897
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #eb56e7;
/* rgb */ color: rgb(235, 86, 231);
/* oklch */ color: oklch(70.2% 0.242 328.9);
Tailwind
colors: {
  custom: {
    50: '#f590ef',
    500: '#eb56e7',
    950: '#000000',
  },
}
SCSS
$custom: #eb56e7;
$custom-light: #f590ef;
$custom-dark: #000000;
JSON
{
  "hex": "#eb56e7",
  "rgb": {
    "r": 235,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 301.611,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.70159,
    "c": 0.24244,
    "h": 328.9
  },
  "luminance": 0.30087
}

Semantic roles & 50–950 ramp

primary
#EB56E7
secondary
#B4E9B5
accent
#DB100A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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