#E28DF8#E28DF8

#E28DF8 is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.9% C 0.171 H 319.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#E28DF8
RGBrgb(226, 141, 248)
HSLhsl(288, 88%, 76%)
HSVhsv(288, 43%, 97%)
CMYKcmyk(8.9%, 43.1%, 0%, 2.7%)
CIE-LABlab(70.87, 49.25, -40.56)
CIE-LCHlch(70.87, 63.80, 320.52°)
OKLaboklab(76.9% 0.1294 -0.1118)
OKLCHoklch(76.9% 0.171 319.2)
XYZxyz(57.8300, 41.9977, 93.8488)
Luminance0.4200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DF8 #A3F88D
analogous
#AD8DF8 #E28DF8 #F88DD9
triadic
#E28DF8 #F8E28D #8DF8E2
tetradic
#E28DF8 #F8AD8D #A3F88D #8DD9F8
square
#E28DF8 #F8AD8D #A3F88D #8DD9F8
split-complementary
#E28DF8 #D9F88D #8DF8AD
monochromatic
#C51AF1 #D353F4 #E28DF8 #F1C7FC #F8E2FD

Accessibility & contrast

On white

2.23
#E28DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#E28DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28DF8
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28DF8#FFFFFF#000000##000000
##E28DF81.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FC
Deuteranopia (green-blind)
#94B0F5
Tritanopia (blue-blind)
#E39BB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28df8;
/* rgb */ color: rgb(226, 141, 248);
/* oklch */ color: oklch(76.9% 0.171 319.2);
Tailwind
colors: {
  custom: {
    50: '#edb0fb',
    500: '#e28df8',
    950: '#000000',
  },
}
SCSS
$custom: #e28df8;
$custom-light: #edb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28df8",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 287.664,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76899,
    "c": 0.17106,
    "h": 319.2
  },
  "luminance": 0.41996
}

Semantic roles & 50–950 ramp

primary
#E28DF8
secondary
#DCF5D6
accent
#E5002F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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