#E8A1FA#E8A1FA

#E8A1FA is a light, vivid purple. Relative luminance 0.495; OKLCH L 80.8% C 0.143 H 319.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#E8A1FA
RGBrgb(232, 161, 250)
HSLhsl(288, 90%, 81%)
HSVhsv(288, 36%, 98%)
CMYKcmyk(7.2%, 35.6%, 0%, 2%)
CIE-LABlab(75.79, 40.93, -33.95)
CIE-LCHlch(75.79, 53.18, 320.33°)
OKLaboklab(80.77% 0.1083 -0.093)
OKLCHoklch(80.77% 0.143 319.4)
XYZxyz(63.2766, 49.5495, 96.6547)
Luminance0.4955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A1FA #B3FAA1
analogous
#BBA1FA #E8A1FA #FAA1DF
triadic
#E8A1FA #FAE8A1 #A1FAE8
tetradic
#E8A1FA #FABBA1 #B3FAA1 #A1DFFA
square
#E8A1FA #FABBA1 #B3FAA1 #A1DFFA
split-complementary
#E8A1FA #DFFAA1 #A1FABB
monochromatic
#CC2DF4 #DA67F7 #E8A1FA #F6DBFD #F8E2FD

Accessibility & contrast

On white

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

On black

10.91
#E8A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A1FA
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A1FA#FFFFFF#000000##000000
##E8A1FA1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FD
Deuteranopia (green-blind)
#A7BDF7
Tritanopia (blue-blind)
#E9ABC2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #e8a1fa;
/* rgb */ color: rgb(232, 161, 250);
/* oklch */ color: oklch(80.8% 0.143 319.4);
Tailwind
colors: {
  custom: {
    50: '#f0befc',
    500: '#e8a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #e8a1fa;
$custom-light: #f0befc;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a1fa",
  "rgb": {
    "r": 232,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 287.865,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80771,
    "c": 0.14275,
    "h": 319.4
  },
  "luminance": 0.49548
}

Semantic roles & 50–950 ramp

primary
#E8A1FA
secondary
#DCF6D5
accent
#E6002E
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #E8A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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