#E28AF4#E28AF4

#E28AF4 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.3% C 0.172 H 320.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#E28AF4
RGBrgb(226, 138, 244)
HSLhsl(290, 83%, 75%)
HSVhsv(290, 43%, 96%)
CMYKcmyk(7.4%, 43.4%, 0%, 4.3%)
CIE-LABlab(70.09, 50.02, -39.59)
CIE-LCHlch(70.09, 63.79, 321.64°)
OKLaboklab(76.26% 0.1329 -0.109)
OKLCHoklch(76.26% 0.172 320.6)
XYZxyz(56.7797, 40.8794, 90.4700)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AF4 #9CF48A
analogous
#AD8AF4 #E28AF4 #F48AD1
triadic
#E28AF4 #F4E28A #8AF4E2
tetradic
#E28AF4 #F4AD8A #9CF48A #8AD1F4
square
#E28AF4 #F4AD8A #9CF48A #8AD1F4
split-complementary
#E28AF4 #D1F48A #8AF4AD
monochromatic
#C61AE9 #D452EF #E28AF4 #F0C2F9 #F8E3FC

Accessibility & contrast

On white

2.29
#E28AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#E28AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AF4
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AF4#FFFFFF#000000##000000
##E28AF41.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F8
Deuteranopia (green-blind)
#93AFF1
Tritanopia (blue-blind)
#E497B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e28af4;
/* rgb */ color: rgb(226, 138, 244);
/* oklch */ color: oklch(76.3% 0.172 320.6);
Tailwind
colors: {
  custom: {
    50: '#edaef8',
    500: '#e28af4',
    950: '#000000',
  },
}
SCSS
$custom: #e28af4;
$custom-light: #edaef8;
$custom-dark: #000000;
JSON
{
  "hex": "#e28af4",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 289.811,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76262,
    "c": 0.17192,
    "h": 320.6
  },
  "luminance": 0.40877
}

Semantic roles & 50–950 ramp

primary
#E28AF4
secondary
#DCF4D7
accent
#DF062B
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #E28AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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