#E28EF8#E28EF8

#E28EF8 is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.1% C 0.169 H 319.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#E28EF8
RGBrgb(226, 142, 248)
HSLhsl(288, 88%, 76%)
HSVhsv(288, 43%, 97%)
CMYKcmyk(8.9%, 42.7%, 0%, 2.7%)
CIE-LABlab(71.07, 48.73, -40.24)
CIE-LCHlch(71.07, 63.20, 320.45°)
OKLaboklab(77.05% 0.128 -0.1109)
OKLCHoklch(77.05% 0.169 319.1)
XYZxyz(57.9781, 42.2940, 93.8982)
Luminance0.4229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28EF8 #A4F88E
analogous
#AD8EF8 #E28EF8 #F88ED9
triadic
#E28EF8 #F8E28E #8EF8E2
tetradic
#E28EF8 #F8AD8E #A4F88E #8ED9F8
square
#E28EF8 #F8AD8E #A4F88E #8ED9F8
split-complementary
#E28EF8 #D9F88E #8EF8AD
monochromatic
#C41BF1 #D354F4 #E28EF8 #F1C8FC #F8E2FD

Accessibility & contrast

On white

2.22
#E28EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#E28EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28EF8
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28EF8#FFFFFF#000000##000000
##E28EF81.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FC
Deuteranopia (green-blind)
#94B1F5
Tritanopia (blue-blind)
#E39CB7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28ef8;
/* rgb */ color: rgb(226, 142, 248);
/* oklch */ color: oklch(77.1% 0.169 319.1);
Tailwind
colors: {
  custom: {
    50: '#edb1fb',
    500: '#e28ef8',
    950: '#000000',
  },
}
SCSS
$custom: #e28ef8;
$custom-light: #edb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ef8",
  "rgb": {
    "r": 226,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 287.547,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77052,
    "c": 0.16941,
    "h": 319.1
  },
  "luminance": 0.42292
}

Semantic roles & 50–950 ramp

primary
#E28EF8
secondary
#DCF5D6
accent
#E50130
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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