#E8A1FB#E8A1FB

#E8A1FB is a light, vivid purple. Relative luminance 0.496; OKLCH L 80.8% C 0.144 H 319.0°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#E8A1FB
RGBrgb(232, 161, 251)
HSLhsl(287, 92%, 81%)
HSVhsv(287, 36%, 98%)
CMYKcmyk(7.6%, 35.9%, 0%, 1.6%)
CIE-LABlab(75.83, 41.13, -34.43)
CIE-LCHlch(75.83, 53.64, 320.06°)
OKLaboklab(80.81% 0.1085 -0.0943)
OKLCHoklch(80.81% 0.144 319)
XYZxyz(63.4338, 49.6123, 97.4827)
Luminance0.4961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A1FB #B4FBA1
analogous
#BBA1FB #E8A1FB #FBA1E1
triadic
#E8A1FB #FBE8A1 #A1FBE8
tetradic
#E8A1FB #FBBBA1 #B4FBA1 #A1E1FB
square
#E8A1FB #FBBBA1 #B4FBA1 #A1E1FB
split-complementary
#E8A1FB #E1FBA1 #A1FBBB
monochromatic
#CB2CF6 #DA66F9 #E8A1FB #F6DCFD #F8E2FE

Accessibility & contrast

On white

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

On black

10.92
#E8A1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A1FB
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A1FB#FFFFFF#000000##000000
##E8A1FB1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8a1fb;
/* rgb */ color: rgb(232, 161, 251);
/* oklch */ color: oklch(80.8% 0.144 319.0);
Tailwind
colors: {
  custom: {
    50: '#f0befd',
    500: '#e8a1fb',
    950: '#000000',
  },
}
SCSS
$custom: #e8a1fb;
$custom-light: #f0befd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a1fb",
  "rgb": {
    "r": 232,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 287.333,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.80813,
    "c": 0.14382,
    "h": 319
  },
  "luminance": 0.49611
}

Semantic roles & 50–950 ramp

primary
#E8A1FB
secondary
#DCF6D5
accent
#E60030
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #E8A1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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