#E56CFB#E56CFB

#E56CFB is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.9% C 0.227 H 321.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#E56CFB
RGBrgb(229, 108, 251)
HSLhsl(291, 95%, 70%)
HSVhsv(291, 57%, 98%)
CMYKcmyk(8.8%, 57%, 0%, 1.6%)
CIE-LABlab(65.24, 66.70, -51.03)
CIE-LCHlch(65.24, 83.98, 322.58°)
OKLaboklab(72.86% 0.1767 -0.1418)
OKLCHoklch(72.86% 0.227 321.3)
XYZxyz(55.0863, 34.3508, 94.9768)
Luminance0.3435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E56CFB #82FB6C
analogous
#9D6CFB #E56CFB #FB6CCA
triadic
#E56CFB #FBE56C #6CFBE5
tetradic
#E56CFB #FB9D6C #82FB6C #6CCAFB
square
#E56CFB #FB9D6C #82FB6C #6CCAFB
split-complementary
#E56CFB #CAFB6C #6CFB9D
monochromatic
#C406E6 #DA30F9 #E56CFB #F0A8FD #FAE1FE

Accessibility & contrast

On white

2.67
#E56CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#E56CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E56CFB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E56CFB#FFFFFF#000000##000000
##E56CFB1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#E781AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e56cfb;
/* rgb */ color: rgb(229, 108, 251);
/* oklch */ color: oklch(72.9% 0.227 321.3);
Tailwind
colors: {
  custom: {
    50: '#f09cfd',
    500: '#e56cfb',
    950: '#000000',
  },
}
SCSS
$custom: #e56cfb;
$custom-light: #f09cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#e56cfb",
  "rgb": {
    "r": 229,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 290.769,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72861,
    "c": 0.22655,
    "h": 321.3
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#E56CFB
secondary
#D4F5CE
accent
#E60023
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170F18
muted
#857E86

Preview Lab

Preview with #E56CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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