#E28BF8#E28BF8

#E28BF8 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.6% C 0.174 H 319.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#E28BF8
RGBrgb(226, 139, 248)
HSLhsl(288, 89%, 76%)
HSVhsv(288, 44%, 97%)
CMYKcmyk(8.9%, 44%, 0%, 2.7%)
CIE-LABlab(70.46, 50.28, -41.19)
CIE-LCHlch(70.46, 65.00, 320.67°)
OKLaboklab(76.6% 0.1322 -0.1136)
OKLCHoklch(76.6% 0.174 319.3)
XYZxyz(57.5377, 41.4133, 93.7514)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28BF8 #A1F88B
analogous
#AB8BF8 #E28BF8 #F88BD7
triadic
#E28BF8 #F8E28B #8BF8E2
tetradic
#E28BF8 #F8AB8B #A1F88B #8BD7F8
square
#E28BF8 #F8AB8B #A1F88B #8BD7F8
split-complementary
#E28BF8 #D7F88B #8BF8AB
monochromatic
#C518F1 #D451F5 #E28BF8 #F0C5FB #F8E2FD

Accessibility & contrast

On white

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

On black

9.28
#E28BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28BF8
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28BF8#FFFFFF#000000##000000
##E28BF81.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#92AFF5
Tritanopia (blue-blind)
#E399B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28bf8;
/* rgb */ color: rgb(226, 139, 248);
/* oklch */ color: oklch(76.6% 0.174 319.3);
Tailwind
colors: {
  custom: {
    50: '#edaffb',
    500: '#e28bf8',
    950: '#000000',
  },
}
SCSS
$custom: #e28bf8;
$custom-light: #edaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28bf8",
  "rgb": {
    "r": 226,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 287.89,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76597,
    "c": 0.17434,
    "h": 319.3
  },
  "luminance": 0.41411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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