#E28AF9#E28AF9

#E28AF9 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.5% C 0.177 H 319.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#E28AF9
RGBrgb(226, 138, 249)
HSLhsl(288, 90%, 76%)
HSVhsv(288, 45%, 98%)
CMYKcmyk(9.2%, 44.6%, 0%, 2.4%)
CIE-LABlab(70.31, 50.98, -41.98)
CIE-LCHlch(70.31, 66.05, 320.53°)
OKLaboklab(76.49% 0.1338 -0.1159)
OKLCHoklch(76.49% 0.177 319.1)
XYZxyz(57.5492, 41.1872, 94.5226)
Luminance0.4118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AF9 #A1F98A
analogous
#AA8AF9 #E28AF9 #F98AD8
triadic
#E28AF9 #F9E28A #8AF9E2
tetradic
#E28AF9 #F9AA8A #A1F98A #8AD8F9
square
#E28AF9 #F9AA8A #A1F98A #8AD8F9
split-complementary
#E28AF9 #D8F98A #8AF9AA
monochromatic
#C516F3 #D450F6 #E28AF9 #F0C4FC #F8E2FE

Accessibility & contrast

On white

2.27
#E28AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#E28AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AF9
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AF9#FFFFFF#000000##000000
##E28AF91.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FD
Deuteranopia (green-blind)
#91AFF6
Tritanopia (blue-blind)
#E399B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28af9;
/* rgb */ color: rgb(226, 138, 249);
/* oklch */ color: oklch(76.5% 0.177 319.1);
Tailwind
colors: {
  custom: {
    50: '#edaefb',
    500: '#e28af9',
    950: '#000000',
  },
}
SCSS
$custom: #e28af9;
$custom-light: #edaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28af9",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 287.568,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76494,
    "c": 0.17701,
    "h": 319.1
  },
  "luminance": 0.41185
}

Semantic roles & 50–950 ramp

primary
#E28AF9
secondary
#DCF6D5
accent
#E60030
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #E28AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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