#E28DFA#E28DFA

#E28DFA is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.0% C 0.173 H 318.6°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#E28DFA
RGBrgb(226, 141, 250)
HSLhsl(287, 92%, 77%)
HSVhsv(287, 44%, 98%)
CMYKcmyk(9.6%, 43.6%, 0%, 2%)
CIE-LABlab(70.96, 49.64, -41.52)
CIE-LCHlch(70.96, 64.71, 320.09°)
OKLaboklab(76.99% 0.1298 -0.1146)
OKLCHoklch(76.99% 0.173 318.6)
XYZxyz(58.1419, 42.1225, 95.4917)
Luminance0.4212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DFA #A5FA8D
analogous
#AC8DFA #E28DFA #FA8DDC
triadic
#E28DFA #FAE28D #8DFAE2
tetradic
#E28DFA #FAAC8D #A5FA8D #8DDCFA
square
#E28DFA #FAAC8D #A5FA8D #8DDCFA
split-complementary
#E28DFA #DCFA8D #8DFAAC
monochromatic
#C418F5 #D352F7 #E28DFA #F1C8FD #F8E2FE

Accessibility & contrast

On white

2.23
#E28DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#E28DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28DFA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28DFA#FFFFFF#000000##000000
##E28DFA1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#E29BB8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28dfa;
/* rgb */ color: rgb(226, 141, 250);
/* oklch */ color: oklch(77.0% 0.173 318.6);
Tailwind
colors: {
  custom: {
    50: '#edb0fc',
    500: '#e28dfa',
    950: '#000000',
  },
}
SCSS
$custom: #e28dfa;
$custom-light: #edb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e28dfa",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 286.789,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76992,
    "c": 0.17313,
    "h": 318.6
  },
  "luminance": 0.42121
}

Semantic roles & 50–950 ramp

primary
#E28DFA
secondary
#DCF6D5
accent
#E60033
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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