#E28DF4#E28DF4

#E28DF4 is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.7% C 0.167 H 320.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#E28DF4
RGBrgb(226, 141, 244)
HSLhsl(290, 82%, 75%)
HSVhsv(290, 42%, 96%)
CMYKcmyk(7.4%, 42.2%, 0%, 4.3%)
CIE-LABlab(70.70, 48.47, -38.64)
CIE-LCHlch(70.70, 61.99, 321.44°)
OKLaboklab(76.72% 0.1287 -0.1063)
OKLCHoklch(76.72% 0.167 320.4)
XYZxyz(57.2160, 41.7522, 90.6155)
Luminance0.4175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DF4 #9FF48D
analogous
#AF8DF4 #E28DF4 #F48DD2
triadic
#E28DF4 #F4E28D #8DF4E2
tetradic
#E28DF4 #F4AF8D #9FF48D #8DD2F4
square
#E28DF4 #F4AF8D #9FF48D #8DD2F4
split-complementary
#E28DF4 #D2F48D #8DF4AF
monochromatic
#C61DE9 #D455EF #E28DF4 #F0C5F9 #F8E3FC

Accessibility & contrast

On white

2.25
#E28DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#E28DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28DF4
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28DF4#FFFFFF#000000##000000
##E28DF41.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F8
Deuteranopia (green-blind)
#95B0F1
Tritanopia (blue-blind)
#E49AB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28df4;
/* rgb */ color: rgb(226, 141, 244);
/* oklch */ color: oklch(76.7% 0.167 320.4);
Tailwind
colors: {
  custom: {
    50: '#edb0f8',
    500: '#e28df4',
    950: '#000000',
  },
}
SCSS
$custom: #e28df4;
$custom-light: #edb0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#e28df4",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 289.515,
    "s": 82.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76717,
    "c": 0.16696,
    "h": 320.4
  },
  "luminance": 0.4175
}

Semantic roles & 50–950 ramp

primary
#E28DF4
secondary
#DCF4D7
accent
#DF072C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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