#E28EFD#E28EFD

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

Color values

HEX#E28EFD
RGBrgb(226, 142, 253)
HSLhsl(285, 97%, 77%)
HSVhsv(285, 44%, 99%)
CMYKcmyk(10.7%, 43.9%, 0%, 0.8%)
CIE-LABlab(71.29, 49.71, -42.63)
CIE-LCHlch(71.29, 65.49, 319.38°)
OKLaboklab(77.28% 0.1289 -0.1178)
OKLCHoklch(77.28% 0.175 317.6)
XYZxyz(58.7642, 42.6084, 98.0382)
Luminance0.4261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28EFD #A9FD8E
analogous
#AA8EFD #E28EFD #FD8EE1
triadic
#E28EFD #FDE28E #8EFDE2
tetradic
#E28EFD #FDAA8E #A9FD8E #8EE1FD
square
#E28EFD #FDAA8E #A9FD8E #8EE1FD
split-complementary
#E28EFD #E1FD8E #8EFDAA
monochromatic
#C316FB #D352FC #E28EFD #F1CAFE #F7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E28EFD#FFFFFF#000000##000000
##E28EFD1.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)
#7BA9FF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#E29DBA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e28efd;
/* rgb */ color: rgb(226, 142, 253);
/* oklch */ color: oklch(77.3% 0.175 317.6);
Tailwind
colors: {
  custom: {
    50: '#edb1fe',
    500: '#e28efd',
    950: '#000000',
  },
}
SCSS
$custom: #e28efd;
$custom-light: #edb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e28efd",
  "rgb": {
    "r": 226,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 285.405,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77283,
    "c": 0.17462,
    "h": 317.6
  },
  "luminance": 0.42607
}

Semantic roles & 50–950 ramp

primary
#E28EFD
secondary
#DDF7D4
accent
#E60038
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E28EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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