#E8A7FD#E8A7FD

#E8A7FD is a light, vivid purple. Relative luminance 0.519; OKLCH L 81.9% C 0.136 H 317.7°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#E8A7FD
RGBrgb(232, 167, 253)
HSLhsl(285, 96%, 82%)
HSVhsv(285, 34%, 99%)
CMYKcmyk(8.3%, 34%, 0%, 0.8%)
CIE-LABlab(77.21, 38.34, -33.38)
CIE-LCHlch(77.21, 50.83, 318.96°)
OKLaboklab(81.88% 0.1004 -0.0914)
OKLCHoklch(81.88% 0.136 317.7)
XYZxyz(64.8245, 51.8867, 99.5098)
Luminance0.5189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A7FD #BCFDA7
analogous
#BDA7FD #E8A7FD #FDA7E7
triadic
#E8A7FD #FDE8A7 #A7FDE8
tetradic
#E8A7FD #FDBDA7 #BCFDA7 #A7E7FD
square
#E8A7FD #FDBDA7 #BCFDA7 #A7E7FD
split-complementary
#E8A7FD #E7FDA7 #A7FDBD
monochromatic
#C92FFA #D86BFC #E8A7FD #F7E1FE #F7E1FE

Accessibility & contrast

On white

1.85
#E8A7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#E8A7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A7FD
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A7FD#FFFFFF#000000##000000
##E8A7FD1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFF
Deuteranopia (green-blind)
#ABC1FA
Tritanopia (blue-blind)
#E8B1C7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e8a7fd;
/* rgb */ color: rgb(232, 167, 253);
/* oklch */ color: oklch(81.9% 0.136 317.7);
Tailwind
colors: {
  custom: {
    50: '#f0c2fe',
    500: '#e8a7fd',
    950: '#000000',
  },
}
SCSS
$custom: #e8a7fd;
$custom-light: #f0c2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a7fd",
  "rgb": {
    "r": 232,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 285.349,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.13577,
    "h": 317.7
  },
  "luminance": 0.51885
}

Semantic roles & 50–950 ramp

primary
#E8A7FD
secondary
#85E167
accent
#E60038
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #E8A7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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