#E56AFE#E56AFE

#E56AFE is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.8% C 0.232 H 320.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#E56AFE
RGBrgb(229, 106, 254)
HSLhsl(290, 99%, 71%)
HSVhsv(290, 58%, 100%)
CMYKcmyk(9.8%, 58.3%, 0%, 0.4%)
CIE-LABlab(65.06, 68.15, -52.96)
CIE-LCHlch(65.06, 86.31, 322.15°)
OKLaboklab(72.78% 0.1793 -0.1474)
OKLCHoklch(72.78% 0.232 320.6)
XYZxyz(55.3544, 34.1244, 97.4176)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E56AFE #83FE6A
analogous
#9B6AFE #E56AFE #FE6ACD
triadic
#E56AFE #FEE56A #6AFEE5
tetradic
#E56AFE #FE9B6A #83FE6A #6ACDFE
square
#E56AFE #FE9B6A #83FE6A #6ACDFE
split-complementary
#E56AFE #CDFE6A #6AFE9B
monochromatic
#C402EC #DA2DFE #E56AFE #F0A7FE #FAE1FF

Accessibility & contrast

On white

2.68
#E56AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#E56AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E56AFE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E56AFE#FFFFFF#000000##000000
##E56AFE1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#E781AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e56afe;
/* rgb */ color: rgb(229, 106, 254);
/* oklch */ color: oklch(72.8% 0.232 320.6);
Tailwind
colors: {
  custom: {
    50: '#f09bff',
    500: '#e56afe',
    950: '#000000',
  },
}
SCSS
$custom: #e56afe;
$custom-light: #f09bff;
$custom-dark: #000000;
JSON
{
  "hex": "#e56afe",
  "rgb": {
    "r": 229,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 289.865,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72779,
    "c": 0.23209,
    "h": 320.6
  },
  "luminance": 0.34122
}

Semantic roles & 50–950 ramp

primary
#E56AFE
secondary
#D5F6CE
accent
#E60027
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170F18
muted
#857E86

Preview Lab

Preview with #E56AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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