#E8A5FC#E8A5FC

#E8A5FC is a light, vivid purple. Relative luminance 0.511; OKLCH L 81.5% C 0.138 H 318.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#E8A5FC
RGBrgb(232, 165, 252)
HSLhsl(286, 94%, 82%)
HSVhsv(286, 35%, 99%)
CMYKcmyk(7.9%, 34.5%, 0%, 1.2%)
CIE-LABlab(76.74, 39.20, -33.57)
CIE-LCHlch(76.74, 51.61, 319.43°)
OKLaboklab(81.51% 0.103 -0.0919)
OKLCHoklch(81.51% 0.138 318.3)
XYZxyz(64.3021, 51.0960, 98.5518)
Luminance0.5109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A5FC #B9FCA5
analogous
#BDA5FC #E8A5FC #FCA5E5
triadic
#E8A5FC #FCE8A5 #A5FCE8
tetradic
#E8A5FC #FCBDA5 #B9FCA5 #A5E5FC
square
#E8A5FC #FCBDA5 #B9FCA5 #A5E5FC
split-complementary
#E8A5FC #E5FCA5 #A5FCBD
monochromatic
#CA2FF8 #D96AFA #E8A5FC #F7E0FE #F7E1FE

Accessibility & contrast

On white

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

On black

11.22
#E8A5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A5FC
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A5FC#FFFFFF#000000##000000
##E8A5FC1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#A9C0F9
Tritanopia (blue-blind)
#E8AFC5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e8a5fc;
/* rgb */ color: rgb(232, 165, 252);
/* oklch */ color: oklch(81.5% 0.138 318.3);
Tailwind
colors: {
  custom: {
    50: '#f0c0fd',
    500: '#e8a5fc',
    950: '#000000',
  },
}
SCSS
$custom: #e8a5fc;
$custom-light: #f0c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a5fc",
  "rgb": {
    "r": 232,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 286.207,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81512,
    "c": 0.13809,
    "h": 318.3
  },
  "luminance": 0.51094
}

Semantic roles & 50–950 ramp

primary
#E8A5FC
secondary
#82DF66
accent
#E60035
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E8A5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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