#E28CEF#E28CEF

#E28CEF is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.3% C 0.164 H 322.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#E28CEF
RGBrgb(226, 140, 239)
HSLhsl(292, 76%, 74%)
HSVhsv(292, 41%, 94%)
CMYKcmyk(5.4%, 41.4%, 0%, 6.3%)
CIE-LABlab(70.29, 48.04, -36.55)
CIE-LCHlch(70.29, 60.36, 322.74°)
OKLaboklab(76.34% 0.1292 -0.1003)
OKLCHoklch(76.34% 0.164 322.2)
XYZxyz(56.3204, 41.1590, 86.6224)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CEF #99EF8C
analogous
#B18CEF #E28CEF #EF8CCB
triadic
#E28CEF #EFE28C #8CEFE2
tetradic
#E28CEF #EFB18C #99EF8C #8CCBEF
square
#E28CEF #EFB18C #99EF8C #8CCBEF
split-complementary
#E28CEF #CBEF8C #8CEFB1
monochromatic
#C721E0 #D456E8 #E28CEF #F0C2F6 #F8E4FB

Accessibility & contrast

On white

2.27
#E28CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#E28CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CEF
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CEF#FFFFFF#000000##000000
##E28CEF1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F3
Deuteranopia (green-blind)
#97AFEC
Tritanopia (blue-blind)
#E598B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28cef;
/* rgb */ color: rgb(226, 140, 239);
/* oklch */ color: oklch(76.3% 0.164 322.2);
Tailwind
colors: {
  custom: {
    50: '#edaff4',
    500: '#e28cef',
    950: '#000000',
  },
}
SCSS
$custom: #e28cef;
$custom-light: #edaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cef",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 292.121,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7634,
    "c": 0.16357,
    "h": 322.2
  },
  "luminance": 0.41157
}

Semantic roles & 50–950 ramp

primary
#E28CEF
secondary
#DCF3D8
accent
#D80E28
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161117
muted
#848085

Preview Lab

Preview with #E28CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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