#E28FDC#E28FDC

#E28FDC is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.0% C 0.140 H 329.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#E28FDC
RGBrgb(226, 143, 220)
HSLhsl(304, 59%, 72%)
HSVhsv(304, 37%, 89%)
CMYKcmyk(0%, 36.7%, 2.7%, 11.4%)
CIE-LABlab(70.16, 42.98, -26.29)
CIE-LCHlch(70.16, 50.39, 328.55°)
OKLaboklab(76% 0.1206 -0.0713)
OKLCHoklch(76% 0.14 329.4)
XYZxyz(54.1039, 40.9834, 72.7570)
Luminance0.4098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FDC #8FE295
analogous
#BE8FE2 #E28FDC #E28FB3
triadic
#E28FDC #DCE28F #8FDCE2
tetradic
#E28FDC #E2BE8F #8FE295 #8FB3E2
square
#E28FDC #E2BE8F #8FE295 #8FB3E2
split-complementary
#E28FDC #B3E28F #8FE2BE
monochromatic
#C433B9 #D55ECD #E28FDC #EFC0EB #F9E7F7

Accessibility & contrast

On white

2.28
#E28FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#E28FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FDC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FDC#FFFFFF#000000##000000
##E28FDC1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5DF
Deuteranopia (green-blind)
#A0B0D9
Tritanopia (blue-blind)
#E895AC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e28fdc;
/* rgb */ color: rgb(226, 143, 220);
/* oklch */ color: oklch(76.0% 0.140 329.4);
Tailwind
colors: {
  custom: {
    50: '#ecb1e7',
    500: '#e28fdc',
    950: '#000000',
  },
}
SCSS
$custom: #e28fdc;
$custom-light: #ecb1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e28fdc",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 304.337,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76003,
    "c": 0.1401,
    "h": 329.4
  },
  "luminance": 0.40981
}

Semantic roles & 50–950 ramp

primary
#E28FDC
secondary
#DBF0DD
accent
#C62B1F
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E28FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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