#E28AF2#E28AF2

#E28AF2 is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.2% C 0.170 H 321.3°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#E28AF2
RGBrgb(226, 138, 242)
HSLhsl(291, 80%, 75%)
HSVhsv(291, 43%, 95%)
CMYKcmyk(6.6%, 43%, 0%, 5.1%)
CIE-LABlab(70.01, 49.64, -38.63)
CIE-LCHlch(70.01, 62.90, 322.11°)
OKLaboklab(76.17% 0.1326 -0.1063)
OKLCHoklch(76.17% 0.17 321.3)
XYZxyz(56.4777, 40.7586, 88.8794)
Luminance0.4076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AF2 #9AF28A
analogous
#AE8AF2 #E28AF2 #F28ACE
triadic
#E28AF2 #F2E28A #8AF2E2
tetradic
#E28AF2 #F2AE8A #9AF28A #8ACEF2
square
#E28AF2 #F2AE8A #9AF28A #8ACEF2
split-complementary
#E28AF2 #CEF28A #8AF2AE
monochromatic
#C71CE6 #D453EC #E28AF2 #F0C1F8 #F8E3FC

Accessibility & contrast

On white

2.29
#E28AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#E28AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AF2
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AF2#FFFFFF#000000##000000
##E28AF21.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#E497B3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e28af2;
/* rgb */ color: rgb(226, 138, 242);
/* oklch */ color: oklch(76.2% 0.170 321.3);
Tailwind
colors: {
  custom: {
    50: '#edaef6',
    500: '#e28af2',
    950: '#000000',
  },
}
SCSS
$custom: #e28af2;
$custom-light: #edaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#e28af2",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 290.769,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76171,
    "c": 0.1699,
    "h": 321.3
  },
  "luminance": 0.40757
}

Semantic roles & 50–950 ramp

primary
#E28AF2
secondary
#DCF4D7
accent
#DC092A
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161017
muted
#847F85

Preview Lab

Preview with #E28AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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