#E8A7FE#E8A7FE

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

Color values

HEX#E8A7FE
RGBrgb(232, 167, 254)
HSLhsl(285, 98%, 83%)
HSVhsv(285, 34%, 100%)
CMYKcmyk(8.7%, 34.3%, 0%, 0.4%)
CIE-LABlab(77.25, 38.54, -33.86)
CIE-LCHlch(77.25, 51.29, 318.70°)
OKLaboklab(81.93% 0.1006 -0.0927)
OKLCHoklch(81.93% 0.137 317.3)
XYZxyz(64.9843, 51.9506, 100.3509)
Luminance0.5195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A7FE #BDFEA7
analogous
#BDA7FE #E8A7FE #FEA7E8
triadic
#E8A7FE #FEE8A7 #A7FEE8
tetradic
#E8A7FE #FEBDA7 #BDFEA7 #A7E8FE
square
#E8A7FE #FEBDA7 #BDFEA7 #A7E8FE
split-complementary
#E8A7FE #E8FEA7 #A7FEBD
monochromatic
#C82EFD #D86AFD #E8A7FE #F7E1FF #F7E1FF

Accessibility & contrast

On white

1.84
#E8A7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#E8A7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A7FE
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A7FE#FFFFFF#000000##000000
##E8A7FE1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBBFF
Deuteranopia (green-blind)
#AAC1FB
Tritanopia (blue-blind)
#E8B2C7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e8a7fe;
/* rgb */ color: rgb(232, 167, 254);
/* oklch */ color: oklch(81.9% 0.137 317.3);
Tailwind
colors: {
  custom: {
    50: '#f0c2ff',
    500: '#e8a7fe',
    950: '#000000',
  },
}
SCSS
$custom: #e8a7fe;
$custom-light: #f0c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a7fe",
  "rgb": {
    "r": 232,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 284.828,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81927,
    "c": 0.13686,
    "h": 317.3
  },
  "luminance": 0.51949
}

Semantic roles & 50–950 ramp

primary
#E8A7FE
secondary
#86E267
accent
#E6003A
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #E8A7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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