#E28FDA#E28FDA

#E28FDA is a light, vivid purple. Relative luminance 0.409; OKLCH L 75.9% C 0.138 H 330.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#E28FDA
RGBrgb(226, 143, 218)
HSLhsl(306, 59%, 72%)
HSVhsv(306, 37%, 89%)
CMYKcmyk(0%, 36.7%, 3.5%, 11.4%)
CIE-LABlab(70.09, 42.63, -25.30)
CIE-LCHlch(70.09, 49.57, 329.31°)
OKLaboklab(75.92% 0.1201 -0.0685)
OKLCHoklch(75.92% 0.138 330.3)
XYZxyz(53.8406, 40.8781, 71.3703)
Luminance0.4088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FDA #8FE297
analogous
#C08FE2 #E28FDA #E28FB1
triadic
#E28FDA #DAE28F #8FDAE2
tetradic
#E28FDA #E2C08F #8FE297 #8FB1E2
square
#E28FDA #E2C08F #8FE297 #8FB1E2
split-complementary
#E28FDA #B1E28F #8FE2C0
monochromatic
#C433B6 #D55ECA #E28FDA #EFC0EA #F9E7F7

Accessibility & contrast

On white

2.29
#E28FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#E28FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FDA
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FDA#FFFFFF#000000##000000
##E28FDA1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA4DD
Deuteranopia (green-blind)
#A1AFD7
Tritanopia (blue-blind)
#E895AB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e28fda;
/* rgb */ color: rgb(226, 143, 218);
/* oklch */ color: oklch(75.9% 0.138 330.3);
Tailwind
colors: {
  custom: {
    50: '#ecb1e5',
    500: '#e28fda',
    950: '#000000',
  },
}
SCSS
$custom: #e28fda;
$custom-light: #ecb1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e28fda",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 305.783,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75923,
    "c": 0.13827,
    "h": 330.3
  },
  "luminance": 0.40876
}

Semantic roles & 50–950 ramp

primary
#E28FDA
secondary
#DBF0DD
accent
#C62F1F
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161115
muted
#848084

Preview Lab

Preview with #E28FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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