#E28AFC#E28AFC

#E28AFC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.6% C 0.180 H 318.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#E28AFC
RGBrgb(226, 138, 252)
HSLhsl(286, 95%, 76%)
HSVhsv(286, 45%, 99%)
CMYKcmyk(10.3%, 45.2%, 0%, 1.2%)
CIE-LABlab(70.44, 51.57, -43.41)
CIE-LCHlch(70.44, 67.41, 319.91°)
OKLaboklab(76.63% 0.1342 -0.12)
OKLCHoklch(76.63% 0.18 318.2)
XYZxyz(58.0208, 41.3759, 97.0066)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AFC #A4FC8A
analogous
#A98AFC #E28AFC #FC8ADD
triadic
#E28AFC #FCE28A #8AFCE2
tetradic
#E28AFC #FCA98A #A4FC8A #8ADDFC
square
#E28AFC #FCA98A #A4FC8A #8ADDFC
split-complementary
#E28AFC #DDFC8A #8AFCA9
monochromatic
#C413F9 #D34EFA #E28AFC #F1C6FE #F8E1FE

Accessibility & contrast

On white

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

On black

9.27
#E28AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AFC
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AFC#FFFFFF#000000##000000
##E28AFC1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#E299B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28afc;
/* rgb */ color: rgb(226, 138, 252);
/* oklch */ color: oklch(76.6% 0.180 318.2);
Tailwind
colors: {
  custom: {
    50: '#edaefe',
    500: '#e28afc',
    950: '#000000',
  },
}
SCSS
$custom: #e28afc;
$custom-light: #edaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#e28afc",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 286.316,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76635,
    "c": 0.18008,
    "h": 318.2
  },
  "luminance": 0.41374
}

Semantic roles & 50–950 ramp

primary
#E28AFC
secondary
#DCF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171018
muted
#857F86

Preview Lab

Preview with #E28AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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