#E28AF7#E28AF7

#E28AF7 is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.4% C 0.175 H 319.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#E28AF7
RGBrgb(226, 138, 247)
HSLhsl(288, 87%, 75%)
HSVhsv(288, 44%, 97%)
CMYKcmyk(8.5%, 44.1%, 0%, 3.1%)
CIE-LABlab(70.22, 50.60, -41.03)
CIE-LCHlch(70.22, 65.14, 320.96°)
OKLaboklab(76.4% 0.1334 -0.1132)
OKLCHoklch(76.4% 0.175 319.7)
XYZxyz(57.2389, 41.0631, 92.8885)
Luminance0.4106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AF7 #9FF78A
analogous
#AB8AF7 #E28AF7 #F78AD6
triadic
#E28AF7 #F7E28A #8AF7E2
tetradic
#E28AF7 #F7AB8A #9FF78A #8AD6F7
square
#E28AF7 #F7AB8A #9FF78A #8AD6F7
split-complementary
#E28AF7 #D6F78A #8AF7AB
monochromatic
#C617EF #D451F3 #E28AF7 #F0C3FB #F8E2FD

Accessibility & contrast

On white

2.28
#E28AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#E28AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AF7
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AF7#FFFFFF#000000##000000
##E28AF71.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FB
Deuteranopia (green-blind)
#92AFF4
Tritanopia (blue-blind)
#E398B5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28af7;
/* rgb */ color: rgb(226, 138, 247);
/* oklch */ color: oklch(76.4% 0.175 319.7);
Tailwind
colors: {
  custom: {
    50: '#edaefa',
    500: '#e28af7',
    950: '#000000',
  },
}
SCSS
$custom: #e28af7;
$custom-light: #edaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#e28af7",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 288.44,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.764,
    "c": 0.17497,
    "h": 319.7
  },
  "luminance": 0.41061
}

Semantic roles & 50–950 ramp

primary
#E28AF7
secondary
#DCF5D6
accent
#E4022D
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #E28AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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