#E28DF9#E28DF9

#E28DF9 is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.9% C 0.172 H 318.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#E28DF9
RGBrgb(226, 141, 249)
HSLhsl(287, 90%, 76%)
HSVhsv(287, 43%, 98%)
CMYKcmyk(9.2%, 43.4%, 0%, 2.4%)
CIE-LABlab(70.91, 49.44, -41.04)
CIE-LCHlch(70.91, 64.25, 320.31°)
OKLaboklab(76.95% 0.1296 -0.1132)
OKLCHoklch(76.95% 0.172 318.9)
XYZxyz(57.9855, 42.0600, 94.6681)
Luminance0.4206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DF9 #A4F98D
analogous
#AC8DF9 #E28DF9 #F98DDA
triadic
#E28DF9 #F9E28D #8DF9E2
tetradic
#E28DF9 #F9AC8D #A4F98D #8DDAF9
square
#E28DF9 #F9AC8D #A4F98D #8DDAF9
split-complementary
#E28DF9 #DAF98D #8DF9AC
monochromatic
#C419F3 #D353F6 #E28DF9 #F1C7FC #F8E2FD

Accessibility & contrast

On white

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

On black

9.41
#E28DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28DF9
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28DF9#FFFFFF#000000##000000
##E28DF91.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FD
Deuteranopia (green-blind)
#93B1F6
Tritanopia (blue-blind)
#E39BB7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28df9;
/* rgb */ color: rgb(226, 141, 249);
/* oklch */ color: oklch(76.9% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#edb0fb',
    500: '#e28df9',
    950: '#000000',
  },
}
SCSS
$custom: #e28df9;
$custom-light: #edb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28df9",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 287.222,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76946,
    "c": 0.17209,
    "h": 318.9
  },
  "luminance": 0.42058
}

Semantic roles & 50–950 ramp

primary
#E28DF9
secondary
#DCF6D5
accent
#E60031
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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