#E28AF5#E28AF5

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

Color values

HEX#E28AF5
RGBrgb(226, 138, 245)
HSLhsl(289, 84%, 75%)
HSVhsv(289, 44%, 96%)
CMYKcmyk(7.8%, 43.7%, 0%, 3.9%)
CIE-LABlab(70.13, 50.21, -40.07)
CIE-LCHlch(70.13, 64.24, 321.41°)
OKLaboklab(76.31% 0.1331 -0.1104)
OKLCHoklch(76.31% 0.173 320.3)
XYZxyz(56.9319, 40.9403, 91.2718)
Luminance0.4094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AF5 #9DF58A
analogous
#AD8AF5 #E28AF5 #F58AD2
triadic
#E28AF5 #F5E28A #8AF5E2
tetradic
#E28AF5 #F5AD8A #9DF58A #8AD2F5
square
#E28AF5 #F5AD8A #9DF58A #8AD2F5
split-complementary
#E28AF5 #D2F58A #8AF5AD
monochromatic
#C619EB #D452F0 #E28AF5 #F0C2FA #F8E3FD

Accessibility & contrast

On white

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

On black

9.19
#E28AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AF5
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AF5#FFFFFF#000000##000000
##E28AF51.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e28af5;
/* rgb */ color: rgb(226, 138, 245);
/* oklch */ color: oklch(76.3% 0.173 320.3);
Tailwind
colors: {
  custom: {
    50: '#edaef9',
    500: '#e28af5',
    950: '#000000',
  },
}
SCSS
$custom: #e28af5;
$custom-light: #edaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#e28af5",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 289.346,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76308,
    "c": 0.17293,
    "h": 320.3
  },
  "luminance": 0.40938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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