#E28CF8#E28CF8

#E28CF8 is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.7% C 0.173 H 319.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#E28CF8
RGBrgb(226, 140, 248)
HSLhsl(288, 89%, 76%)
HSVhsv(288, 44%, 97%)
CMYKcmyk(8.9%, 43.5%, 0%, 2.7%)
CIE-LABlab(70.67, 49.76, -40.88)
CIE-LCHlch(70.67, 64.40, 320.60°)
OKLaboklab(76.75% 0.1308 -0.1127)
OKLCHoklch(76.75% 0.173 319.2)
XYZxyz(57.6832, 41.7042, 93.7999)
Luminance0.4170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CF8 #A2F88C
analogous
#AC8CF8 #E28CF8 #F88CD8
triadic
#E28CF8 #F8E28C #8CF8E2
tetradic
#E28CF8 #F8AC8C #A2F88C #8CD8F8
square
#E28CF8 #F8AC8C #A2F88C #8CD8F8
split-complementary
#E28CF8 #D8F88C #8CF8AC
monochromatic
#C519F1 #D352F4 #E28CF8 #F1C6FC #F8E2FD

Accessibility & contrast

On white

2.25
#E28CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#E28CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CF8
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CF8#FFFFFF#000000##000000
##E28CF81.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#E39AB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28cf8;
/* rgb */ color: rgb(226, 140, 248);
/* oklch */ color: oklch(76.7% 0.173 319.2);
Tailwind
colors: {
  custom: {
    50: '#edaffb',
    500: '#e28cf8',
    950: '#000000',
  },
}
SCSS
$custom: #e28cf8;
$custom-light: #edaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cf8",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 287.778,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76748,
    "c": 0.1727,
    "h": 319.2
  },
  "luminance": 0.41702
}

Semantic roles & 50–950 ramp

primary
#E28CF8
secondary
#DCF5D6
accent
#E5002F
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #E28CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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