#E28DFD#E28DFD

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

Color values

HEX#E28DFD
RGBrgb(226, 141, 253)
HSLhsl(286, 97%, 77%)
HSVhsv(286, 44%, 99%)
CMYKcmyk(10.7%, 44.3%, 0%, 0.8%)
CIE-LABlab(71.09, 50.23, -42.95)
CIE-LCHlch(71.09, 66.08, 319.47°)
OKLaboklab(77.13% 0.1303 -0.1187)
OKLCHoklch(77.13% 0.176 317.7)
XYZxyz(58.6160, 42.3122, 97.9888)
Luminance0.4231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DFD #A8FD8D
analogous
#AA8DFD #E28DFD #FD8DE0
triadic
#E28DFD #FDE28D #8DFDE2
tetradic
#E28DFD #FDAA8D #A8FD8D #8DE0FD
square
#E28DFD #FDAA8D #A8FD8D #8DE0FD
split-complementary
#E28DFD #E0FD8D #8DFDAA
monochromatic
#C315FB #D351FC #E28DFD #F1C9FE #F7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E28DFD#FFFFFF#000000##000000
##E28DFD1.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)
#7AA8FF
Deuteranopia (green-blind)
#91B1FA
Tritanopia (blue-blind)
#E29CB9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28dfd;
/* rgb */ color: rgb(226, 141, 253);
/* oklch */ color: oklch(77.1% 0.176 317.7);
Tailwind
colors: {
  custom: {
    50: '#edb0fe',
    500: '#e28dfd',
    950: '#000000',
  },
}
SCSS
$custom: #e28dfd;
$custom-light: #edb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e28dfd",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 285.536,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77132,
    "c": 0.17625,
    "h": 317.7
  },
  "luminance": 0.4231
}

Semantic roles & 50–950 ramp

primary
#E28DFD
secondary
#DDF7D4
accent
#E60037
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E28DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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