#E28AEF#E28AEF

#E28AEF is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.0% C 0.167 H 322.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#E28AEF
RGBrgb(226, 138, 239)
HSLhsl(292, 76%, 74%)
HSVhsv(292, 42%, 94%)
CMYKcmyk(5.4%, 42.3%, 0%, 6.3%)
CIE-LABlab(69.88, 49.07, -37.18)
CIE-LCHlch(69.88, 61.56, 322.85°)
OKLaboklab(76.04% 0.132 -0.1021)
OKLCHoklch(76.04% 0.167 322.3)
XYZxyz(56.0308, 40.5799, 86.5259)
Luminance0.4058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AEF #97EF8A
analogous
#B08AEF #E28AEF #EF8ACA
triadic
#E28AEF #EFE28A #8AEFE2
tetradic
#E28AEF #EFB08A #97EF8A #8ACAEF
square
#E28AEF #EFB08A #97EF8A #8ACAEF
split-complementary
#E28AEF #CAEF8A #8AEFB0
monochromatic
#C71FE0 #D554E8 #E28AEF #EFC0F6 #F8E4FB

Accessibility & contrast

On white

2.30
#E28AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#E28AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AEF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AEF#FFFFFF#000000##000000
##E28AEF1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F3
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#E596B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e28aef;
/* rgb */ color: rgb(226, 138, 239);
/* oklch */ color: oklch(76.0% 0.167 322.3);
Tailwind
colors: {
  custom: {
    50: '#edaef4',
    500: '#e28aef',
    950: '#000000',
  },
}
SCSS
$custom: #e28aef;
$custom-light: #edaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#e28aef",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 292.277,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76035,
    "c": 0.1669,
    "h": 322.3
  },
  "luminance": 0.40578
}

Semantic roles & 50–950 ramp

primary
#E28AEF
secondary
#DBF3D8
accent
#D80D27
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #E28AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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