#E28CD5#E28CD5

#E28CD5 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.3% C 0.139 H 332.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#E28CD5
RGBrgb(226, 140, 213)
HSLhsl(309, 60%, 72%)
HSVhsv(309, 38%, 89%)
CMYKcmyk(0%, 38.1%, 5.8%, 11.4%)
CIE-LABlab(69.28, 43.32, -23.78)
CIE-LCHlch(69.28, 49.42, 331.24°)
OKLaboklab(75.25% 0.1233 -0.0642)
OKLCHoklch(75.25% 0.139 332.5)
XYZxyz(52.7519, 39.7316, 67.8282)
Luminance0.3973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CD5 #8CE299
analogous
#C48CE2 #E28CD5 #E28CAA
triadic
#E28CD5 #D5E28C #8CD5E2
tetradic
#E28CD5 #E2C48C #8CE299 #8CAAE2
square
#E28CD5 #E2C48C #8CE299 #8CAAE2
split-complementary
#E28CD5 #AAE28C #8CE2C4
monochromatic
#C331AD #D65BC3 #E28CD5 #EEBDE7 #F9E7F6

Accessibility & contrast

On white

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

On black

8.95
#E28CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CD5
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CD5#FFFFFF#000000##000000
##E28CD51.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e28cd5;
/* rgb */ color: rgb(226, 140, 213);
/* oklch */ color: oklch(75.3% 0.139 332.5);
Tailwind
colors: {
  custom: {
    50: '#ecafe2',
    500: '#e28cd5',
    950: '#000000',
  },
}
SCSS
$custom: #e28cd5;
$custom-light: #ecafe2;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cd5",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 309.07,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7525,
    "c": 0.139,
    "h": 332.5
  },
  "luminance": 0.39729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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