#E4A2FA#E4A2FA

#E4A2FA is a light, vivid purple. Relative luminance 0.492; OKLCH L 80.5% C 0.139 H 317.4°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#E4A2FA
RGBrgb(228, 162, 250)
HSLhsl(285, 90%, 81%)
HSVhsv(285, 35%, 98%)
CMYKcmyk(8.8%, 35.2%, 0%, 2%)
CIE-LABlab(75.60, 39.20, -34.28)
CIE-LCHlch(75.60, 52.08, 318.83°)
OKLaboklab(80.53% 0.1024 -0.094)
OKLCHoklch(80.53% 0.139 317.4)
XYZxyz(62.1681, 49.2383, 96.6530)
Luminance0.4924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4A2FA #B8FAA2
analogous
#B8A2FA #E4A2FA #FAA2E4
triadic
#E4A2FA #FAE4A2 #A2FAE4
tetradic
#E4A2FA #FAB8A2 #B8FAA2 #A2E4FA
square
#E4A2FA #FAB8A2 #B8FAA2 #A2E4FA
split-complementary
#E4A2FA #E4FAA2 #A2FAB8
monochromatic
#C22EF4 #D368F7 #E4A2FA #F5DCFD #F7E2FD

Accessibility & contrast

On white

1.94
#E4A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#E4A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4A2FA
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4A2FA#FFFFFF#000000##000000
##E4A2FA1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4a2fa;
/* rgb */ color: rgb(228, 162, 250);
/* oklch */ color: oklch(80.5% 0.139 317.4);
Tailwind
colors: {
  custom: {
    50: '#edbefc',
    500: '#e4a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #e4a2fa;
$custom-light: #edbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#e4a2fa",
  "rgb": {
    "r": 228,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 285,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.80533,
    "c": 0.13898,
    "h": 317.4
  },
  "luminance": 0.49237
}

Semantic roles & 50–950 ramp

primary
#E4A2FA
secondary
#DDF6D5
accent
#E60039
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #E4A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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