#E56AFC#E56AFC

#E56AFC is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.7% C 0.230 H 321.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#E56AFC
RGBrgb(229, 106, 252)
HSLhsl(291, 96%, 70%)
HSVhsv(291, 58%, 99%)
CMYKcmyk(9.1%, 57.9%, 0%, 1.2%)
CIE-LABlab(64.96, 67.78, -52.02)
CIE-LCHlch(64.96, 85.44, 322.50°)
OKLaboklab(72.67% 0.1792 -0.1447)
OKLCHoklch(72.67% 0.23 321.1)
XYZxyz(55.0358, 33.9969, 95.7397)
Luminance0.3399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E56AFC #81FC6A
analogous
#9C6AFC #E56AFC #FC6ACA
triadic
#E56AFC #FCE56A #6AFCE5
tetradic
#E56AFC #FC9C6A #81FC6A #6ACAFC
square
#E56AFC #FC9C6A #81FC6A #6ACAFC
split-complementary
#E56AFC #CAFC6A #6AFC9C
monochromatic
#C305E7 #DB2EFB #E56AFC #EFA6FD #FAE1FE

Accessibility & contrast

On white

2.69
#E56AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#E56AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E56AFC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E56AFC#FFFFFF#000000##000000
##E56AFC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#E780A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e56afc;
/* rgb */ color: rgb(229, 106, 252);
/* oklch */ color: oklch(72.7% 0.230 321.1);
Tailwind
colors: {
  custom: {
    50: '#f09bfe',
    500: '#e56afc',
    950: '#000000',
  },
}
SCSS
$custom: #e56afc;
$custom-light: #f09bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#e56afc",
  "rgb": {
    "r": 229,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 290.548,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72673,
    "c": 0.23029,
    "h": 321.1
  },
  "luminance": 0.33994
}

Semantic roles & 50–950 ramp

primary
#E56AFC
secondary
#D3F5CD
accent
#E60024
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170F18
muted
#857E86

Preview Lab

Preview with #E56AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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