#E28CD8#E28CD8

#E28CD8 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.4% C 0.142 H 331.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#E28CD8
RGBrgb(226, 140, 216)
HSLhsl(307, 60%, 72%)
HSVhsv(307, 38%, 89%)
CMYKcmyk(0%, 38.1%, 4.4%, 11.4%)
CIE-LABlab(69.39, 43.84, -25.27)
CIE-LCHlch(69.39, 50.61, 330.04°)
OKLaboklab(75.37% 0.1241 -0.0684)
OKLCHoklch(75.37% 0.142 331.1)
XYZxyz(53.1362, 39.8854, 69.8522)
Luminance0.3988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CD8 #8CE296
analogous
#C18CE2 #E28CD8 #E28CAD
triadic
#E28CD8 #D8E28C #8CD8E2
tetradic
#E28CD8 #E2C18C #8CE296 #8CADE2
square
#E28CD8 #E2C18C #8CE296 #8CADE2
split-complementary
#E28CD8 #ADE28C #8CE2C1
monochromatic
#C331B2 #D65BC7 #E28CD8 #EEBDE9 #F9E7F7

Accessibility & contrast

On white

2.34
#E28CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#E28CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CD8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CD8#FFFFFF#000000##000000
##E28CD81.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A2DB
Deuteranopia (green-blind)
#9FAED5
Tritanopia (blue-blind)
#E992A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e28cd8;
/* rgb */ color: rgb(226, 140, 216);
/* oklch */ color: oklch(75.4% 0.142 331.1);
Tailwind
colors: {
  custom: {
    50: '#ecafe4',
    500: '#e28cd8',
    950: '#000000',
  },
}
SCSS
$custom: #e28cd8;
$custom-light: #ecafe4;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cd8",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 306.977,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75368,
    "c": 0.14166,
    "h": 331.1
  },
  "luminance": 0.39883
}

Semantic roles & 50–950 ramp

primary
#E28CD8
secondary
#DAF0DD
accent
#C7321E
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #E28CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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