#E3A1FA#E3A1FA

#E3A1FA is a light, vivid purple. Relative luminance 0.487; OKLCH L 80.3% C 0.140 H 317.1°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#E3A1FA
RGBrgb(227, 161, 250)
HSLhsl(284, 90%, 81%)
HSVhsv(284, 36%, 98%)
CMYKcmyk(9.2%, 35.6%, 0%, 2%)
CIE-LABlab(75.28, 39.43, -34.79)
CIE-LCHlch(75.28, 52.58, 318.58°)
OKLaboklab(80.27% 0.1027 -0.0954)
OKLCHoklch(80.27% 0.14 317.1)
XYZxyz(61.6762, 48.7243, 96.5797)
Luminance0.4872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3A1FA #B8FAA1
analogous
#B6A1FA #E3A1FA #FAA1E5
triadic
#E3A1FA #FAE3A1 #A1FAE3
tetradic
#E3A1FA #FAB6A1 #B8FAA1 #A1E5FA
square
#E3A1FA #FAB6A1 #B8FAA1 #A1E5FA
split-complementary
#E3A1FA #E5FAA1 #A1FAB6
monochromatic
#C02DF4 #D267F7 #E3A1FA #F4DBFD #F6E2FD

Accessibility & contrast

On white

1.95
#E3A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#E3A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3A1FA
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3A1FA#FFFFFF#000000##000000
##E3A1FA1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#A4BCF7
Tritanopia (blue-blind)
#E3ACC2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #e3a1fa;
/* rgb */ color: rgb(227, 161, 250);
/* oklch */ color: oklch(80.3% 0.140 317.1);
Tailwind
colors: {
  custom: {
    50: '#edbefc',
    500: '#e3a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #e3a1fa;
$custom-light: #edbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#e3a1fa",
  "rgb": {
    "r": 227,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 284.494,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80268,
    "c": 0.14018,
    "h": 317.1
  },
  "luminance": 0.48723
}

Semantic roles & 50–950 ramp

primary
#E3A1FA
secondary
#DEF6D5
accent
#E6003B
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #E3A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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