#E2A2FA#E2A2FA

#E2A2FA is a light, vivid purple. Relative luminance 0.489; OKLCH L 80.3% C 0.138 H 316.5°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#E2A2FA
RGBrgb(226, 162, 250)
HSLhsl(284, 90%, 81%)
HSVhsv(284, 35%, 98%)
CMYKcmyk(9.6%, 35.2%, 0%, 2%)
CIE-LABlab(75.40, 38.60, -34.61)
CIE-LCHlch(75.40, 51.84, 318.12°)
OKLaboklab(80.33% 0.1001 -0.095)
OKLCHoklch(80.33% 0.138 316.5)
XYZxyz(61.5371, 48.9130, 96.6234)
Luminance0.4891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A2FA #BAFAA2
analogous
#B6A2FA #E2A2FA #FAA2E6
triadic
#E2A2FA #FAE2A2 #A2FAE2
tetradic
#E2A2FA #FAB6A2 #BAFAA2 #A2E6FA
square
#E2A2FA #FAB6A2 #BAFAA2 #A2E6FA
split-complementary
#E2A2FA #E6FAA2 #A2FAB6
monochromatic
#BE2EF4 #D068F7 #E2A2FA #F4DCFD #F6E2FD

Accessibility & contrast

On white

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

On black

10.78
#E2A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A2FA
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A2FA#FFFFFF#000000##000000
##E2A2FA1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FD
Deuteranopia (green-blind)
#A4BCF7
Tritanopia (blue-blind)
#E1ADC3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e2a2fa;
/* rgb */ color: rgb(226, 162, 250);
/* oklch */ color: oklch(80.3% 0.138 316.5);
Tailwind
colors: {
  custom: {
    50: '#ecbefc',
    500: '#e2a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #e2a2fa;
$custom-light: #ecbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a2fa",
  "rgb": {
    "r": 226,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 283.636,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.80334,
    "c": 0.13799,
    "h": 316.5
  },
  "luminance": 0.48912
}

Semantic roles & 50–950 ramp

primary
#E2A2FA
secondary
#DEF6D5
accent
#E6003F
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #E2A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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