#E8A7FC#E8A7FC

#E8A7FC is a light, vivid purple. Relative luminance 0.518; OKLCH L 81.8% C 0.135 H 318.1°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#E8A7FC
RGBrgb(232, 167, 252)
HSLhsl(286, 93%, 82%)
HSVhsv(286, 34%, 99%)
CMYKcmyk(7.9%, 33.7%, 0%, 1.2%)
CIE-LABlab(77.17, 38.14, -32.90)
CIE-LCHlch(77.17, 50.37, 319.22°)
OKLaboklab(81.84% 0.1002 -0.09)
OKLCHoklch(81.84% 0.135 318.1)
XYZxyz(64.6657, 51.8231, 98.6730)
Luminance0.5182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A7FC #BBFCA7
analogous
#BDA7FC #E8A7FC #FCA7E6
triadic
#E8A7FC #FCE8A7 #A7FCE8
tetradic
#E8A7FC #FCBDA7 #BBFCA7 #A7E6FC
square
#E8A7FC #FCBDA7 #BBFCA7 #A7E6FC
split-complementary
#E8A7FC #E6FCA7 #A7FCBD
monochromatic
#C931F8 #D96CFA #E8A7FC #F7E1FE #F7E1FE

Accessibility & contrast

On white

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

On black

11.36
#E8A7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A7FC
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A7FC#FFFFFF#000000##000000
##E8A7FC1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBAFF
Deuteranopia (green-blind)
#ABC1F9
Tritanopia (blue-blind)
#E8B1C6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e8a7fc;
/* rgb */ color: rgb(232, 167, 252);
/* oklch */ color: oklch(81.8% 0.135 318.1);
Tailwind
colors: {
  custom: {
    50: '#f0c2fd',
    500: '#e8a7fc',
    950: '#000000',
  },
}
SCSS
$custom: #e8a7fc;
$custom-light: #f0c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a7fc",
  "rgb": {
    "r": 232,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 285.882,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.81844,
    "c": 0.13468,
    "h": 318.1
  },
  "luminance": 0.51822
}

Semantic roles & 50–950 ramp

primary
#E8A7FC
secondary
#84DF68
accent
#E60036
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E8A7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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