#E56AF2#E56AF2

#E56AF2 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.2% C 0.221 H 323.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#E56AF2
RGBrgb(229, 106, 242)
HSLhsl(294, 84%, 68%)
HSVhsv(294, 56%, 95%)
CMYKcmyk(5.4%, 56.2%, 0%, 5.1%)
CIE-LABlab(64.47, 65.97, -47.29)
CIE-LCHlch(64.47, 81.17, 324.37°)
OKLaboklab(72.15% 0.1785 -0.1309)
OKLCHoklch(72.15% 0.221 323.7)
XYZxyz(53.4927, 33.3797, 87.6125)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E56AF2 #77F26A
analogous
#A16AF2 #E56AF2 #F26ABB
triadic
#E56AF2 #F2E56A #6AF2E5
tetradic
#E56AF2 #F2A16A #77F26A #6ABBF2
square
#E56AF2 #F2A16A #77F26A #6ABBF2
split-complementary
#E56AF2 #BBF26A #6AF2A1
monochromatic
#BD12CF #DB32ED #E56AF2 #EFA2F7 #F9DBFC

Accessibility & contrast

On white

2.74
#E56AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#E56AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E56AF2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E56AF2#FFFFFF#000000##000000
##E56AF21.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#E97DA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e56af2;
/* rgb */ color: rgb(229, 106, 242);
/* oklch */ color: oklch(72.2% 0.221 323.7);
Tailwind
colors: {
  custom: {
    50: '#f09af7',
    500: '#e56af2',
    950: '#000000',
  },
}
SCSS
$custom: #e56af2;
$custom-light: #f09af7;
$custom-dark: #000000;
JSON
{
  "hex": "#e56af2",
  "rgb": {
    "r": 229,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 294.265,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72153,
    "c": 0.22137,
    "h": 323.7
  },
  "luminance": 0.33377
}

Semantic roles & 50–950 ramp

primary
#E56AF2
secondary
#CBF1C7
accent
#E0051A
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E56AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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