#E28DFE#E28DFE

#E28DFE is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.2% C 0.177 H 317.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#E28DFE
RGBrgb(226, 141, 254)
HSLhsl(285, 98%, 77%)
HSVhsv(285, 44%, 100%)
CMYKcmyk(11%, 44.5%, 0%, 0.4%)
CIE-LABlab(71.13, 50.42, -43.42)
CIE-LCHlch(71.13, 66.54, 319.27°)
OKLaboklab(77.18% 0.1304 -0.1201)
OKLCHoklch(77.18% 0.177 317.4)
XYZxyz(58.7758, 42.3761, 98.8300)
Luminance0.4237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DFE #A9FE8D
analogous
#AA8DFE #E28DFE #FE8DE1
triadic
#E28DFE #FEE28D #8DFEE2
tetradic
#E28DFE #FEAA8D #A9FE8D #8DE1FE
square
#E28DFE #FEAA8D #A9FE8D #8DE1FE
split-complementary
#E28DFE #E1FE8D #8DFEAA
monochromatic
#C314FD #D350FD #E28DFE #F1CAFF #F7E1FF

Accessibility & contrast

On white

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

On black

9.47
#E28DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28DFE
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28DFE#FFFFFF#000000##000000
##E28DFE1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#E29CBA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28dfe;
/* rgb */ color: rgb(226, 141, 254);
/* oklch */ color: oklch(77.2% 0.177 317.4);
Tailwind
colors: {
  custom: {
    50: '#edb0ff',
    500: '#e28dfe',
    950: '#000000',
  },
}
SCSS
$custom: #e28dfe;
$custom-light: #edb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e28dfe",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 285.133,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77179,
    "c": 0.17729,
    "h": 317.4
  },
  "luminance": 0.42374
}

Semantic roles & 50–950 ramp

primary
#E28DFE
secondary
#DDF7D4
accent
#E60039
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E28DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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