#E28FF8#E28FF8

#E28FF8 is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.2% C 0.168 H 319.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#E28FF8
RGBrgb(226, 143, 248)
HSLhsl(287, 88%, 77%)
HSVhsv(287, 42%, 97%)
CMYKcmyk(8.9%, 42.3%, 0%, 2.7%)
CIE-LABlab(71.28, 48.21, -39.92)
CIE-LCHlch(71.28, 62.60, 320.37°)
OKLaboklab(77.21% 0.1266 -0.11)
OKLCHoklch(77.21% 0.168 319)
XYZxyz(58.1275, 42.5929, 93.9480)
Luminance0.4259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FF8 #A5F88F
analogous
#AE8FF8 #E28FF8 #F88FD9
triadic
#E28FF8 #F8E28F #8FF8E2
tetradic
#E28FF8 #F8AE8F #A5F88F #8FD9F8
square
#E28FF8 #F8AE8F #A5F88F #8FD9F8
split-complementary
#E28FF8 #D9F88F #8FF8AE
monochromatic
#C41CF1 #D355F4 #E28FF8 #F1C9FC #F8E2FD

Accessibility & contrast

On white

2.21
#E28FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#E28FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FF8
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FF8#FFFFFF#000000##000000
##E28FF81.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#95B1F5
Tritanopia (blue-blind)
#E39CB8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28ff8;
/* rgb */ color: rgb(226, 143, 248);
/* oklch */ color: oklch(77.2% 0.168 319.0);
Tailwind
colors: {
  custom: {
    50: '#edb1fb',
    500: '#e28ff8',
    950: '#000000',
  },
}
SCSS
$custom: #e28ff8;
$custom-light: #edb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ff8",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 287.429,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77205,
    "c": 0.16776,
    "h": 319
  },
  "luminance": 0.42591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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