#E28FEF#E28FEF

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

Color values

HEX#E28FEF
RGBrgb(226, 143, 239)
HSLhsl(292, 75%, 75%)
HSVhsv(292, 40%, 94%)
CMYKcmyk(5.4%, 40.2%, 0%, 6.3%)
CIE-LABlab(70.90, 46.48, -35.59)
CIE-LCHlch(70.90, 58.54, 322.56°)
OKLaboklab(76.8% 0.1249 -0.0976)
OKLCHoklch(76.8% 0.159 322)
XYZxyz(56.7647, 42.0477, 86.7705)
Luminance0.4205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FEF #9CEF8F
analogous
#B28FEF #E28FEF #EF8FCC
triadic
#E28FEF #EFE28F #8FEFE2
tetradic
#E28FEF #EFB28F #9CEF8F #8FCCEF
square
#E28FEF #EFB28F #9CEF8F #8FCCEF
split-complementary
#E28FEF #CCEF8F #8FEFB2
monochromatic
#C624E0 #D459E7 #E28FEF #F0C5F7 #F8E4FB

Accessibility & contrast

On white

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

On black

9.41
#E28FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FEF
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FEF#FFFFFF#000000##000000
##E28FEF1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#99B1EC
Tritanopia (blue-blind)
#E49AB4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28fef;
/* rgb */ color: rgb(226, 143, 239);
/* oklch */ color: oklch(76.8% 0.159 322.0);
Tailwind
colors: {
  custom: {
    50: '#ecb1f4',
    500: '#e28fef',
    950: '#000000',
  },
}
SCSS
$custom: #e28fef;
$custom-light: #ecb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e28fef",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 291.875,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76802,
    "c": 0.15854,
    "h": 322
  },
  "luminance": 0.42046
}

Semantic roles & 50–950 ramp

primary
#E28FEF
secondary
#DCF3D8
accent
#D70E2A
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E28FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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