#E8A5FB#E8A5FB

#E8A5FB is a light, vivid purple. Relative luminance 0.510; OKLCH L 81.5% C 0.137 H 318.6°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#E8A5FB
RGBrgb(232, 165, 251)
HSLhsl(287, 91%, 82%)
HSVhsv(287, 34%, 98%)
CMYKcmyk(7.6%, 34.3%, 0%, 1.6%)
CIE-LABlab(76.70, 39.01, -33.09)
CIE-LCHlch(76.70, 51.15, 319.69°)
OKLaboklab(81.47% 0.1028 -0.0906)
OKLCHoklch(81.47% 0.137 318.6)
XYZxyz(64.1441, 51.0328, 97.7194)
Luminance0.5103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A5FB #B8FBA5
analogous
#BDA5FB #E8A5FB #FBA5E3
triadic
#E8A5FB #FBE8A5 #A5FBE8
tetradic
#E8A5FB #FBBDA5 #B8FBA5 #A5E3FB
square
#E8A5FB #FBBDA5 #B8FBA5 #A5E3FB
split-complementary
#E8A5FB #E3FBA5 #A5FBBD
monochromatic
#CA30F6 #D96AF8 #E8A5FB #F7E0FE #F8E2FE

Accessibility & contrast

On white

1.87
#E8A5FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#E8A5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A5FB
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A5FB#FFFFFF#000000##000000
##E8A5FB1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FE
Deuteranopia (green-blind)
#AAC0F8
Tritanopia (blue-blind)
#E9AFC5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e8a5fb;
/* rgb */ color: rgb(232, 165, 251);
/* oklch */ color: oklch(81.5% 0.137 318.6);
Tailwind
colors: {
  custom: {
    50: '#f0c0fd',
    500: '#e8a5fb',
    950: '#000000',
  },
}
SCSS
$custom: #e8a5fb;
$custom-light: #f0c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a5fb",
  "rgb": {
    "r": 232,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 286.744,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.8147,
    "c": 0.13701,
    "h": 318.6
  },
  "luminance": 0.51031
}

Semantic roles & 50–950 ramp

primary
#E8A5FB
secondary
#81DE67
accent
#E60033
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E8A5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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