#E28AFB#E28AFB

#E28AFB is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.6% C 0.179 H 318.5°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#E28AFB
RGBrgb(226, 138, 251)
HSLhsl(287, 93%, 76%)
HSVhsv(287, 45%, 98%)
CMYKcmyk(10%, 45%, 0%, 1.6%)
CIE-LABlab(70.39, 51.37, -42.94)
CIE-LCHlch(70.39, 66.95, 320.11°)
OKLaboklab(76.59% 0.1341 -0.1187)
OKLCHoklch(76.59% 0.179 318.5)
XYZxyz(57.8627, 41.3127, 96.1742)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AFB #A3FB8A
analogous
#AA8AFB #E28AFB #FB8ADB
triadic
#E28AFB #FBE28A #8AFBE2
tetradic
#E28AFB #FBAA8A #A3FB8A #8ADBFB
square
#E28AFB #FBAA8A #A3FB8A #8ADBFB
split-complementary
#E28AFB #DBFB8A #8AFBAA
monochromatic
#C514F7 #D34FF9 #E28AFB #F1C5FD #F8E1FE

Accessibility & contrast

On white

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

On black

9.26
#E28AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AFB
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AFB#FFFFFF#000000##000000
##E28AFB1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e28afb;
/* rgb */ color: rgb(226, 138, 251);
/* oklch */ color: oklch(76.6% 0.179 318.5);
Tailwind
colors: {
  custom: {
    50: '#edaefd',
    500: '#e28afb',
    950: '#000000',
  },
}
SCSS
$custom: #e28afb;
$custom-light: #edaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#e28afb",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 286.726,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76588,
    "c": 0.17905,
    "h": 318.5
  },
  "luminance": 0.41311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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