#E28CD4#E28CD4

#E28CD4 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.2% C 0.138 H 333.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#E28CD4
RGBrgb(226, 140, 212)
HSLhsl(310, 60%, 72%)
HSVhsv(310, 38%, 89%)
CMYKcmyk(0%, 38.1%, 6.2%, 11.4%)
CIE-LABlab(69.24, 43.15, -23.28)
CIE-LCHlch(69.24, 49.03, 331.65°)
OKLaboklab(75.21% 0.123 -0.0628)
OKLCHoklch(75.21% 0.138 333)
XYZxyz(52.6253, 39.6810, 67.1618)
Luminance0.3968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CD4 #8CE29A
analogous
#C58CE2 #E28CD4 #E28CA9
triadic
#E28CD4 #D4E28C #8CD4E2
tetradic
#E28CD4 #E2C58C #8CE29A #8CA9E2
square
#E28CD4 #E2C58C #8CE29A #8CA9E2
split-complementary
#E28CD4 #A9E28C #8CE2C5
monochromatic
#C331AB #D65BC2 #E28CD4 #EEBDE6 #F9E7F6

Accessibility & contrast

On white

2.35
#E28CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#E28CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CD4
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CD4#FFFFFF#000000##000000
##E28CD41.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA1D7
Deuteranopia (green-blind)
#A1AED1
Tritanopia (blue-blind)
#E991A7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e28cd4;
/* rgb */ color: rgb(226, 140, 212);
/* oklch */ color: oklch(75.2% 0.138 333.0);
Tailwind
colors: {
  custom: {
    50: '#ecafe1',
    500: '#e28cd4',
    950: '#000000',
  },
}
SCSS
$custom: #e28cd4;
$custom-light: #ecafe1;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cd4",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 309.767,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7521,
    "c": 0.13813,
    "h": 333
  },
  "luminance": 0.39678
}

Semantic roles & 50–950 ramp

primary
#E28CD4
secondary
#DAF0DE
accent
#C73A1E
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #E28CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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