#E28DF7#E28DF7

#E28DF7 is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.9% C 0.170 H 319.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#E28DF7
RGBrgb(226, 141, 247)
HSLhsl(288, 87%, 76%)
HSVhsv(288, 43%, 97%)
CMYKcmyk(8.5%, 42.9%, 0%, 3.1%)
CIE-LABlab(70.83, 49.05, -40.08)
CIE-LCHlch(70.83, 63.35, 320.75°)
OKLaboklab(76.85% 0.1293 -0.1105)
OKLCHoklch(76.85% 0.17 319.5)
XYZxyz(57.6752, 41.9358, 93.0340)
Luminance0.4193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DF7 #A2F78D
analogous
#AD8DF7 #E28DF7 #F78DD7
triadic
#E28DF7 #F7E28D #8DF7E2
tetradic
#E28DF7 #F7AD8D #A2F78D #8DD7F7
square
#E28DF7 #F7AD8D #A2F78D #8DD7F7
split-complementary
#E28DF7 #D7F78D #8DF7AD
monochromatic
#C51BEF #D354F3 #E28DF7 #F1C6FB #F8E2FD

Accessibility & contrast

On white

2.24
#E28DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#E28DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28DF7
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28DF7#FFFFFF#000000##000000
##E28DF71.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FB
Deuteranopia (green-blind)
#94B0F4
Tritanopia (blue-blind)
#E39BB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28df7;
/* rgb */ color: rgb(226, 141, 247);
/* oklch */ color: oklch(76.9% 0.170 319.5);
Tailwind
colors: {
  custom: {
    50: '#edb0fa',
    500: '#e28df7',
    950: '#000000',
  },
}
SCSS
$custom: #e28df7;
$custom-light: #edb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e28df7",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 288.113,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76854,
    "c": 0.17003,
    "h": 319.5
  },
  "luminance": 0.41934
}

Semantic roles & 50–950 ramp

primary
#E28DF7
secondary
#DCF5D6
accent
#E3022F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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