#E28FEE#E28FEE

#E28FEE is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.8% C 0.158 H 322.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#E28FEE
RGBrgb(226, 143, 238)
HSLhsl(292, 74%, 75%)
HSVhsv(292, 40%, 93%)
CMYKcmyk(5%, 39.9%, 0%, 6.7%)
CIE-LABlab(70.86, 46.29, -35.11)
CIE-LCHlch(70.86, 58.10, 322.82°)
OKLaboklab(76.76% 0.1247 -0.0962)
OKLCHoklch(76.76% 0.158 322.3)
XYZxyz(56.6174, 41.9888, 85.9946)
Luminance0.4199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FEE #9BEE8F
analogous
#B38FEE #E28FEE #EE8FCB
triadic
#E28FEE #EEE28F #8FEEE2
tetradic
#E28FEE #EEB38F #9BEE8F #8FCBEE
square
#E28FEE #EEB38F #9BEE8F #8FCBEE
split-complementary
#E28FEE #CBEE8F #8FEEB3
monochromatic
#C625DE #D45AE6 #E28FEE #F0C4F6 #F8E4FB

Accessibility & contrast

On white

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

On black

9.40
#E28FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FEE
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FEE#FFFFFF#000000##000000
##E28FEE1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F1
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#E59AB3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28fee;
/* rgb */ color: rgb(226, 143, 238);
/* oklch */ color: oklch(76.8% 0.158 322.3);
Tailwind
colors: {
  custom: {
    50: '#ecb1f4',
    500: '#e28fee',
    950: '#000000',
  },
}
SCSS
$custom: #e28fee;
$custom-light: #ecb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e28fee",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 292.421,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76758,
    "c": 0.15753,
    "h": 322.3
  },
  "luminance": 0.41987
}

Semantic roles & 50–950 ramp

primary
#E28FEE
secondary
#DCF3D8
accent
#D61029
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E28FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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