#E28CFD#E28CFD

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

Color values

HEX#E28CFD
RGBrgb(226, 140, 253)
HSLhsl(286, 97%, 77%)
HSVhsv(286, 45%, 99%)
CMYKcmyk(10.7%, 44.7%, 0%, 0.8%)
CIE-LABlab(70.88, 50.74, -43.26)
CIE-LCHlch(70.88, 66.68, 319.55°)
OKLaboklab(76.98% 0.1317 -0.1196)
OKLCHoklch(76.98% 0.178 317.7)
XYZxyz(58.4693, 42.0186, 97.9399)
Luminance0.4202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CFD #A7FD8C
analogous
#AA8CFD #E28CFD #FD8CDF
triadic
#E28CFD #FDE28C #8CFDE2
tetradic
#E28CFD #FDAA8C #A7FD8C #8CDFFD
square
#E28CFD #FDAA8C #A7FD8C #8CDFFD
split-complementary
#E28CFD #DFFD8C #8CFDAA
monochromatic
#C414FB #D350FC #E28CFD #F1C8FE #F7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E28CFD#FFFFFF#000000##000000
##E28CFD1.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)
#79A8FF
Deuteranopia (green-blind)
#91B0FA
Tritanopia (blue-blind)
#E29BB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28cfd;
/* rgb */ color: rgb(226, 140, 253);
/* oklch */ color: oklch(77.0% 0.178 317.7);
Tailwind
colors: {
  custom: {
    50: '#edb0fe',
    500: '#e28cfd',
    950: '#000000',
  },
}
SCSS
$custom: #e28cfd;
$custom-light: #edb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cfd",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 285.664,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76981,
    "c": 0.17788,
    "h": 317.7
  },
  "luminance": 0.42017
}

Semantic roles & 50–950 ramp

primary
#E28CFD
secondary
#DCF7D4
accent
#E60037
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #E28CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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