#E8A6FA#E8A6FA

#E8A6FA is a light, vivid purple. Relative luminance 0.513; OKLCH L 81.6% C 0.134 H 318.9°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#E8A6FA
RGBrgb(232, 166, 250)
HSLhsl(287, 89%, 82%)
HSVhsv(287, 34%, 98%)
CMYKcmyk(7.2%, 33.6%, 0%, 2%)
CIE-LABlab(76.88, 38.28, -32.27)
CIE-LCHlch(76.88, 50.07, 319.87°)
OKLaboklab(81.6% 0.1011 -0.0883)
OKLCHoklch(81.6% 0.134 318.9)
XYZxyz(64.1679, 51.3320, 96.9518)
Luminance0.5133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A6FA #B8FAA6
analogous
#BEA6FA #E8A6FA #FAA6E2
triadic
#E8A6FA #FAE8A6 #A6FAE8
tetradic
#E8A6FA #FABEA6 #B8FAA6 #A6E2FA
square
#E8A6FA #FABEA6 #B8FAA6 #A6E2FA
split-complementary
#E8A6FA #E2FAA6 #A6FABE
monochromatic
#CA32F3 #D96CF7 #E8A6FA #F7E0FD #F8E2FD

Accessibility & contrast

On white

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

On black

11.27
#E8A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A6FA
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A6FA#FFFFFF#000000##000000
##E8A6FA1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FD
Deuteranopia (green-blind)
#ABC0F7
Tritanopia (blue-blind)
#E9B0C5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e8a6fa;
/* rgb */ color: rgb(232, 166, 250);
/* oklch */ color: oklch(81.6% 0.134 318.9);
Tailwind
colors: {
  custom: {
    50: '#f0c1fc',
    500: '#e8a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #e8a6fa;
$custom-light: #f0c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a6fa",
  "rgb": {
    "r": 232,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 287.143,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81595,
    "c": 0.13423,
    "h": 318.9
  },
  "luminance": 0.5133
}

Semantic roles & 50–950 ramp

primary
#E8A6FA
secondary
#81DC68
accent
#E60031
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E8A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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