#E28AFD#E28AFD

#E28AFD is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.7% C 0.181 H 317.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#E28AFD
RGBrgb(226, 138, 253)
HSLhsl(286, 97%, 77%)
HSVhsv(286, 45%, 99%)
CMYKcmyk(10.7%, 45.5%, 0%, 0.8%)
CIE-LABlab(70.48, 51.77, -43.89)
CIE-LCHlch(70.48, 67.87, 319.71°)
OKLaboklab(76.68% 0.1344 -0.1214)
OKLCHoklch(76.68% 0.181 317.9)
XYZxyz(58.1797, 41.4394, 97.8434)
Luminance0.4144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AFD #A5FD8A
analogous
#A98AFD #E28AFD #FD8ADF
triadic
#E28AFD #FDE28A #8AFDE2
tetradic
#E28AFD #FDA98A #A5FD8A #8ADFFD
square
#E28AFD #FDA98A #A5FD8A #8ADFFD
split-complementary
#E28AFD #DFFD8A #8AFDA9
monochromatic
#C412FB #D34EFC #E28AFD #F1C6FE #F8E1FE

Accessibility & contrast

On white

2.26
#E28AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#E28AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AFD
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AFD#FFFFFF#000000##000000
##E28AFD1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#8FAFFA
Tritanopia (blue-blind)
#E29AB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28afd;
/* rgb */ color: rgb(226, 138, 253);
/* oklch */ color: oklch(76.7% 0.181 317.9);
Tailwind
colors: {
  custom: {
    50: '#edaefe',
    500: '#e28afd',
    950: '#000000',
  },
}
SCSS
$custom: #e28afd;
$custom-light: #edaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#e28afd",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 285.913,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76682,
    "c": 0.18111,
    "h": 317.9
  },
  "luminance": 0.41438
}

Semantic roles & 50–950 ramp

primary
#E28AFD
secondary
#DCF7D4
accent
#E60036
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171018
muted
#857F86

Preview Lab

Preview with #E28AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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