#E28CD7#E28CD7

#E28CD7 is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.3% C 0.141 H 331.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#E28CD7
RGBrgb(226, 140, 215)
HSLhsl(308, 60%, 72%)
HSVhsv(308, 38%, 89%)
CMYKcmyk(0%, 38.1%, 4.9%, 11.4%)
CIE-LABlab(69.35, 43.67, -24.77)
CIE-LCHlch(69.35, 50.21, 330.43°)
OKLaboklab(75.33% 0.1238 -0.067)
OKLCHoklch(75.33% 0.141 331.6)
XYZxyz(53.0073, 39.8338, 69.1734)
Luminance0.3983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CD7 #8CE297
analogous
#C28CE2 #E28CD7 #E28CAC
triadic
#E28CD7 #D7E28C #8CD7E2
tetradic
#E28CD7 #E2C28C #8CE297 #8CACE2
square
#E28CD7 #E2C28C #8CE297 #8CACE2
split-complementary
#E28CD7 #ACE28C #8CE2C2
monochromatic
#C331B0 #D65BC6 #E28CD7 #EEBDE8 #F9E7F7

Accessibility & contrast

On white

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

On black

8.97
#E28CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CD7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CD7#FFFFFF#000000##000000
##E28CD71.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA2DA
Deuteranopia (green-blind)
#A0AED4
Tritanopia (blue-blind)
#E991A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e28cd7;
/* rgb */ color: rgb(226, 140, 215);
/* oklch */ color: oklch(75.3% 0.141 331.6);
Tailwind
colors: {
  custom: {
    50: '#ecafe3',
    500: '#e28cd7',
    950: '#000000',
  },
}
SCSS
$custom: #e28cd7;
$custom-light: #ecafe3;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cd7",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 307.674,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75329,
    "c": 0.14077,
    "h": 331.6
  },
  "luminance": 0.39831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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