#E28AF8#E28AF8

#E28AF8 is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.4% C 0.176 H 319.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#E28AF8
RGBrgb(226, 138, 248)
HSLhsl(288, 89%, 76%)
HSVhsv(288, 44%, 97%)
CMYKcmyk(8.9%, 44.4%, 0%, 2.7%)
CIE-LABlab(70.26, 50.79, -41.51)
CIE-LCHlch(70.26, 65.59, 320.74°)
OKLaboklab(76.45% 0.1336 -0.1145)
OKLCHoklch(76.45% 0.176 319.4)
XYZxyz(57.3936, 41.1250, 93.7034)
Luminance0.4112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AF8 #A0F88A
analogous
#AB8AF8 #E28AF8 #F88AD7
triadic
#E28AF8 #F8E28A #8AF8E2
tetradic
#E28AF8 #F8AB8A #A0F88A #8AD7F8
square
#E28AF8 #F8AB8A #A0F88A #8AD7F8
split-complementary
#E28AF8 #D7F88A #8AF8AB
monochromatic
#C517F1 #D450F5 #E28AF8 #F0C4FB #F8E2FD

Accessibility & contrast

On white

2.28
#E28AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#E28AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AF8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AF8#FFFFFF#000000##000000
##E28AF81.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#91AFF5
Tritanopia (blue-blind)
#E398B5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28af8;
/* rgb */ color: rgb(226, 138, 248);
/* oklch */ color: oklch(76.4% 0.176 319.4);
Tailwind
colors: {
  custom: {
    50: '#edaefb',
    500: '#e28af8',
    950: '#000000',
  },
}
SCSS
$custom: #e28af8;
$custom-light: #edaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28af8",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 288,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76447,
    "c": 0.17598,
    "h": 319.4
  },
  "luminance": 0.41123
}

Semantic roles & 50–950 ramp

primary
#E28AF8
secondary
#DCF5D6
accent
#E5002E
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #E28AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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