#E8A1FC#E8A1FC

#E8A1FC is a light, vivid purple. Relative luminance 0.497; OKLCH L 80.9% C 0.145 H 318.7°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#E8A1FC
RGBrgb(232, 161, 252)
HSLhsl(287, 94%, 81%)
HSVhsv(287, 36%, 99%)
CMYKcmyk(7.9%, 36.1%, 0%, 1.2%)
CIE-LABlab(75.87, 41.32, -34.91)
CIE-LCHlch(75.87, 54.10, 319.81°)
OKLaboklab(80.86% 0.1088 -0.0957)
OKLCHoklch(80.86% 0.145 318.7)
XYZxyz(63.5919, 49.6756, 98.3151)
Luminance0.4967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A1FC #B5FCA1
analogous
#BAA1FC #E8A1FC #FCA1E2
triadic
#E8A1FC #FCE8A1 #A1FCE8
tetradic
#E8A1FC #FCBAA1 #B5FCA1 #A1E2FC
square
#E8A1FC #FCBAA1 #B5FCA1 #A1E2FC
split-complementary
#E8A1FC #E2FCA1 #A1FCBA
monochromatic
#CB2AF8 #D966FA #E8A1FC #F7DCFE #F8E1FE

Accessibility & contrast

On white

1.92
#E8A1FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#E8A1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A1FC
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A1FC#FFFFFF#000000##000000
##E8A1FC1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FF
Deuteranopia (green-blind)
#A6BDF9
Tritanopia (blue-blind)
#E9ACC3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #e8a1fc;
/* rgb */ color: rgb(232, 161, 252);
/* oklch */ color: oklch(80.9% 0.145 318.7);
Tailwind
colors: {
  custom: {
    50: '#f0befd',
    500: '#e8a1fc',
    950: '#000000',
  },
}
SCSS
$custom: #e8a1fc;
$custom-light: #f0befd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a1fc",
  "rgb": {
    "r": 232,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 286.813,
    "s": 93.814,
    "l": 80.98
  },
  "oklch": {
    "l": 0.80856,
    "c": 0.14489,
    "h": 318.7
  },
  "luminance": 0.49674
}

Semantic roles & 50–950 ramp

primary
#E8A1FC
secondary
#DCF6D5
accent
#E60032
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #E8A1FC

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

Preview Lab → · Contrast checker → · Palette generator →

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