#E8A6FE#E8A6FE

#E8A6FE is a light, vivid purple. Relative luminance 0.516; OKLCH L 81.8% C 0.139 H 317.4°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#E8A6FE
RGBrgb(232, 166, 254)
HSLhsl(285, 98%, 82%)
HSVhsv(285, 35%, 100%)
CMYKcmyk(8.7%, 34.6%, 0%, 0.4%)
CIE-LABlab(77.03, 39.07, -34.19)
CIE-LCHlch(77.03, 51.92, 318.81°)
OKLaboklab(81.76% 0.1021 -0.0937)
OKLCHoklch(81.76% 0.139 317.4)
XYZxyz(64.8018, 51.5856, 100.2901)
Luminance0.5158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A6FE #BCFEA6
analogous
#BCA6FE #E8A6FE #FEA6E8
triadic
#E8A6FE #FEE8A6 #A6FEE8
tetradic
#E8A6FE #FEBCA6 #BCFEA6 #A6E8FE
square
#E8A6FE #FEBCA6 #BCFEA6 #A6E8FE
split-complementary
#E8A6FE #E8FEA6 #A6FEBC
monochromatic
#C92DFD #D869FD #E8A6FE #F7E1FF #F7E1FF

Accessibility & contrast

On white

1.86
#E8A6FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#E8A6FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A6FE
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A6FE#FFFFFF#000000##000000
##E8A6FE1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A9C0FB
Tritanopia (blue-blind)
#E8B1C7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e8a6fe;
/* rgb */ color: rgb(232, 166, 254);
/* oklch */ color: oklch(81.8% 0.139 317.4);
Tailwind
colors: {
  custom: {
    50: '#f0c1ff',
    500: '#e8a6fe',
    950: '#000000',
  },
}
SCSS
$custom: #e8a6fe;
$custom-light: #f0c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a6fe",
  "rgb": {
    "r": 232,
    "g": 166,
    "b": 254
  },
  "hsl": {
    "h": 285,
    "s": 97.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81761,
    "c": 0.13857,
    "h": 317.4
  },
  "luminance": 0.51584
}

Semantic roles & 50–950 ramp

primary
#E8A6FE
secondary
#85E266
accent
#E60039
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #E8A6FE

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

Preview Lab → · Contrast checker → · Palette generator →

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