#E5A1EB#E5A1EB

#E5A1EB is a light, vivid purple. Relative luminance 0.481; OKLCH L 79.9% C 0.125 H 323.9°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#E5A1EB
RGBrgb(229, 161, 235)
HSLhsl(295, 65%, 78%)
HSVhsv(295, 31%, 92%)
CMYKcmyk(2.6%, 31.5%, 0%, 7.8%)
CIE-LABlab(74.92, 37.15, -27.19)
CIE-LCHlch(74.92, 46.04, 323.80°)
OKLaboklab(79.85% 0.1013 -0.0739)
OKLCHoklch(79.85% 0.125 323.9)
XYZxyz(60.0517, 48.1478, 84.7113)
Luminance0.4815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5A1EB #A7EBA1
analogous
#C0A1EB #E5A1EB #EBA1CC
triadic
#E5A1EB #EBE5A1 #A1EBE5
tetradic
#E5A1EB #EBC0A1 #A7EBA1 #A1CCEB
square
#E5A1EB #EBC0A1 #A7EBA1 #A1CCEB
split-complementary
#E5A1EB #CCEBA1 #A1EBC0
monochromatic
#C93CD6 #D76FE0 #E5A1EB #F3D3F6 #F8E6FA

Accessibility & contrast

On white

1.98
#E5A1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#E5A1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5A1EB
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5A1EB#FFFFFF#000000##000000
##E5A1EB1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB3EE
Deuteranopia (green-blind)
#ABBBE9
Tritanopia (blue-blind)
#E8A8BC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #e5a1eb;
/* rgb */ color: rgb(229, 161, 235);
/* oklch */ color: oklch(79.9% 0.125 323.9);
Tailwind
colors: {
  custom: {
    50: '#eebdf1',
    500: '#e5a1eb',
    950: '#000000',
  },
}
SCSS
$custom: #e5a1eb;
$custom-light: #eebdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#e5a1eb",
  "rgb": {
    "r": 229,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 295.135,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79854,
    "c": 0.12537,
    "h": 323.9
  },
  "luminance": 0.48146
}

Semantic roles & 50–950 ramp

primary
#E5A1EB
secondary
#DCF1DA
accent
#CD1927
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #E5A1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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