#E2A1FA#E2A1FA

#E2A1FA is a light, vivid purple. Relative luminance 0.486; OKLCH L 80.2% C 0.140 H 316.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#E2A1FA
RGBrgb(226, 161, 250)
HSLhsl(284, 90%, 81%)
HSVhsv(284, 36%, 98%)
CMYKcmyk(9.6%, 35.6%, 0%, 2%)
CIE-LABlab(75.18, 39.13, -34.95)
CIE-LCHlch(75.18, 52.47, 318.23°)
OKLaboklab(80.17% 0.1015 -0.0959)
OKLCHoklch(80.17% 0.14 316.6)
XYZxyz(61.3617, 48.5621, 96.5649)
Luminance0.4856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A1FA #B9FAA1
analogous
#B5A1FA #E2A1FA #FAA1E6
triadic
#E2A1FA #FAE2A1 #A1FAE2
tetradic
#E2A1FA #FAB5A1 #B9FAA1 #A1E6FA
square
#E2A1FA #FAB5A1 #B9FAA1 #A1E6FA
split-complementary
#E2A1FA #E6FAA1 #A1FAB5
monochromatic
#BE2DF4 #D067F7 #E2A1FA #F4DBFD #F6E2FD

Accessibility & contrast

On white

1.96
#E2A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#E2A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A1FA
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A1FA#FFFFFF#000000##000000
##E2A1FA1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2a1fa;
/* rgb */ color: rgb(226, 161, 250);
/* oklch */ color: oklch(80.2% 0.140 316.6);
Tailwind
colors: {
  custom: {
    50: '#ecbdfc',
    500: '#e2a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #e2a1fa;
$custom-light: #ecbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a1fa",
  "rgb": {
    "r": 226,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 283.82,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80168,
    "c": 0.13969,
    "h": 316.6
  },
  "luminance": 0.48561
}

Semantic roles & 50–950 ramp

primary
#E2A1FA
secondary
#DEF6D5
accent
#E6003E
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #E2A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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