#E8A6FC#E8A6FC

#E8A6FC is a light, vivid purple. Relative luminance 0.515; OKLCH L 81.7% C 0.136 H 318.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#E8A6FC
RGBrgb(232, 166, 252)
HSLhsl(286, 93%, 82%)
HSVhsv(286, 34%, 99%)
CMYKcmyk(7.9%, 34.1%, 0%, 1.2%)
CIE-LABlab(76.96, 38.67, -33.23)
CIE-LCHlch(76.96, 50.99, 319.33°)
OKLaboklab(81.68% 0.1016 -0.091)
OKLCHoklch(81.68% 0.136 318.2)
XYZxyz(64.4832, 51.4581, 98.6122)
Luminance0.5146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A6FC #BAFCA6
analogous
#BDA6FC #E8A6FC #FCA6E5
triadic
#E8A6FC #FCE8A6 #A6FCE8
tetradic
#E8A6FC #FCBDA6 #BAFCA6 #A6E5FC
square
#E8A6FC #FCBDA6 #BAFCA6 #A6E5FC
split-complementary
#E8A6FC #E5FCA6 #A6FCBD
monochromatic
#C930F8 #D96BFA #E8A6FC #F7E1FE #F7E1FE

Accessibility & contrast

On white

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

On black

11.29
#E8A6FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A6FC
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A6FC#FFFFFF#000000##000000
##E8A6FC1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8a6fc;
/* rgb */ color: rgb(232, 166, 252);
/* oklch */ color: oklch(81.7% 0.136 318.2);
Tailwind
colors: {
  custom: {
    50: '#f0c1fd',
    500: '#e8a6fc',
    950: '#000000',
  },
}
SCSS
$custom: #e8a6fc;
$custom-light: #f0c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a6fc",
  "rgb": {
    "r": 232,
    "g": 166,
    "b": 252
  },
  "hsl": {
    "h": 286.047,
    "s": 93.478,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81678,
    "c": 0.13639,
    "h": 318.2
  },
  "luminance": 0.51457
}

Semantic roles & 50–950 ramp

primary
#E8A6FC
secondary
#83DF67
accent
#E60035
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E8A6FC

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

Preview Lab → · Contrast checker → · Palette generator →

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