#E28CF9#E28CF9

#E28CF9 is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.8% C 0.174 H 318.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#E28CF9
RGBrgb(226, 140, 249)
HSLhsl(287, 90%, 76%)
HSVhsv(287, 44%, 98%)
CMYKcmyk(9.2%, 43.8%, 0%, 2.4%)
CIE-LABlab(70.71, 49.96, -41.36)
CIE-LCHlch(70.71, 64.85, 320.38°)
OKLaboklab(76.79% 0.131 -0.1141)
OKLCHoklch(76.79% 0.174 318.9)
XYZxyz(57.8387, 41.7664, 94.6191)
Luminance0.4176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CF9 #A3F98C
analogous
#AC8CF9 #E28CF9 #F98CDA
triadic
#E28CF9 #F9E28C #8CF9E2
tetradic
#E28CF9 #F9AC8C #A3F98C #8CDAF9
square
#E28CF9 #F9AC8C #A3F98C #8CDAF9
split-complementary
#E28CF9 #DAF98C #8CF9AC
monochromatic
#C518F3 #D352F6 #E28CF9 #F1C6FC #F8E2FD

Accessibility & contrast

On white

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

On black

9.35
#E28CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CF9
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CF9#FFFFFF#000000##000000
##E28CF91.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#E39AB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28cf9;
/* rgb */ color: rgb(226, 140, 249);
/* oklch */ color: oklch(76.8% 0.174 318.9);
Tailwind
colors: {
  custom: {
    50: '#edaffb',
    500: '#e28cf9',
    950: '#000000',
  },
}
SCSS
$custom: #e28cf9;
$custom-light: #edaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cf9",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 287.339,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76794,
    "c": 0.17374,
    "h": 318.9
  },
  "luminance": 0.41764
}

Semantic roles & 50–950 ramp

primary
#E28CF9
secondary
#DCF6D5
accent
#E60030
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #E28CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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