#E28AFA#E28AFA

#E28AFA is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.5% C 0.178 H 318.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#E28AFA
RGBrgb(226, 138, 250)
HSLhsl(287, 92%, 76%)
HSVhsv(287, 45%, 98%)
CMYKcmyk(9.6%, 44.8%, 0%, 2%)
CIE-LABlab(70.35, 51.18, -42.46)
CIE-LCHlch(70.35, 66.50, 320.32°)
OKLaboklab(76.54% 0.1339 -0.1173)
OKLCHoklch(76.54% 0.178 318.8)
XYZxyz(57.7055, 41.2498, 95.3462)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AFA #A2FA8A
analogous
#AA8AFA #E28AFA #FA8ADA
triadic
#E28AFA #FAE28A #8AFAE2
tetradic
#E28AFA #FAAA8A #A2FA8A #8ADAFA
square
#E28AFA #FAAA8A #A2FA8A #8ADAFA
split-complementary
#E28AFA #DAFA8A #8AFAAA
monochromatic
#C515F5 #D34FF7 #E28AFA #F1C5FD #F8E2FE

Accessibility & contrast

On white

2.27
#E28AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#E28AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AFA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AFA#FFFFFF#000000##000000
##E28AFA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#E399B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28afa;
/* rgb */ color: rgb(226, 138, 250);
/* oklch */ color: oklch(76.5% 0.178 318.8);
Tailwind
colors: {
  custom: {
    50: '#edaefc',
    500: '#e28afa',
    950: '#000000',
  },
}
SCSS
$custom: #e28afa;
$custom-light: #edaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#e28afa",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 287.143,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7654,
    "c": 0.17803,
    "h": 318.8
  },
  "luminance": 0.41248
}

Semantic roles & 50–950 ramp

primary
#E28AFA
secondary
#DCF6D5
accent
#E60031
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #E28AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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