#E28EEA#E28EEA

#E28EEA is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.4% C 0.155 H 323.8°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#E28EEA
RGBrgb(226, 142, 234)
HSLhsl(295, 69%, 74%)
HSVhsv(295, 39%, 92%)
CMYKcmyk(3.4%, 39.3%, 0%, 8.2%)
CIE-LABlab(70.50, 46.06, -33.48)
CIE-LCHlch(70.50, 56.94, 323.98°)
OKLaboklab(76.43% 0.1253 -0.0916)
OKLCHoklch(76.43% 0.155 323.8)
XYZxyz(55.8868, 41.4575, 82.8842)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28EEA #96EA8E
analogous
#B48EEA #E28EEA #EA8EC4
triadic
#E28EEA #EAE28E #8EEAE2
tetradic
#E28EEA #EAB48E #96EA8E #8EC4EA
square
#E28EEA #EAB48E #96EA8E #8EC4EA
split-complementary
#E28EEA #C4EA8E #8EEAB4
monochromatic
#C728D6 #D55AE0 #E28EEA #EFC2F4 #F8E5FA

Accessibility & contrast

On white

2.26
#E28EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#E28EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28EEA
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28EEA#FFFFFF#000000##000000
##E28EEA1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#9AB0E7
Tritanopia (blue-blind)
#E598B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28eea;
/* rgb */ color: rgb(226, 142, 234);
/* oklch */ color: oklch(76.4% 0.155 323.8);
Tailwind
colors: {
  custom: {
    50: '#ecb1f1',
    500: '#e28eea',
    950: '#000000',
  },
}
SCSS
$custom: #e28eea;
$custom-light: #ecb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e28eea",
  "rgb": {
    "r": 226,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 294.783,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76429,
    "c": 0.15522,
    "h": 323.8
  },
  "luminance": 0.41455
}

Semantic roles & 50–950 ramp

primary
#E28EEA
secondary
#DBF2D9
accent
#D11525
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E28EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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