#E28EF9#E28EF9

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

Color values

HEX#E28EF9
RGBrgb(226, 142, 249)
HSLhsl(287, 90%, 77%)
HSVhsv(287, 43%, 98%)
CMYKcmyk(9.2%, 43%, 0%, 2.4%)
CIE-LABlab(71.12, 48.92, -40.72)
CIE-LCHlch(71.12, 63.65, 320.23°)
OKLaboklab(77.1% 0.1282 -0.1123)
OKLCHoklch(77.1% 0.17 318.8)
XYZxyz(58.1336, 42.3562, 94.7174)
Luminance0.4235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28EF9 #A5F98E
analogous
#AD8EF9 #E28EF9 #F98EDB
triadic
#E28EF9 #F9E28E #8EF9E2
tetradic
#E28EF9 #F9AD8E #A5F98E #8EDBF9
square
#E28EF9 #F9AD8E #A5F98E #8EDBF9
split-complementary
#E28EF9 #DBF98E #8EF9AD
monochromatic
#C41AF3 #D354F6 #E28EF9 #F1C8FC #F8E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E28EF9#FFFFFF#000000##000000
##E28EF91.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)
#7DA8FD
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#E39CB8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28ef9;
/* rgb */ color: rgb(226, 142, 249);
/* oklch */ color: oklch(77.1% 0.170 318.8);
Tailwind
colors: {
  custom: {
    50: '#edb1fb',
    500: '#e28ef9',
    950: '#000000',
  },
}
SCSS
$custom: #e28ef9;
$custom-light: #edb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ef9",
  "rgb": {
    "r": 226,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 287.103,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77098,
    "c": 0.17045,
    "h": 318.8
  },
  "luminance": 0.42354
}

Semantic roles & 50–950 ramp

primary
#E28EF9
secondary
#DCF6D5
accent
#E60031
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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