#E2A2FE#E2A2FE

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

Color values

HEX#E2A2FE
RGBrgb(226, 162, 254)
HSLhsl(282, 98%, 82%)
HSVhsv(282, 36%, 100%)
CMYKcmyk(11%, 36.2%, 0%, 0.4%)
CIE-LABlab(75.55, 39.40, -36.53)
CIE-LCHlch(75.55, 53.73, 317.16°)
OKLaboklab(80.51% 0.101 -0.1004)
OKLCHoklch(80.51% 0.142 315.2)
XYZxyz(62.1710, 49.1665, 99.9617)
Luminance0.4916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A2FE #BEFEA2
analogous
#B4A2FE #E2A2FE #FEA2EC
triadic
#E2A2FE #FEE2A2 #A2FEE2
tetradic
#E2A2FE #FEB4A2 #BEFEA2 #A2ECFE
square
#E2A2FE #FEB4A2 #BEFEA2 #A2ECFE
split-complementary
#E2A2FE #ECFEA2 #A2FEB4
monochromatic
#BC29FD #CF65FD #E2A2FE #F5DFFF #F6E1FF

Accessibility & contrast

On white

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

On black

10.83
#E2A2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A2FE
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A2FE#FFFFFF#000000##000000
##E2A2FE1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#A3BCFB
Tritanopia (blue-blind)
#E1AEC4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e2a2fe;
/* rgb */ color: rgb(226, 162, 254);
/* oklch */ color: oklch(80.5% 0.142 315.2);
Tailwind
colors: {
  custom: {
    50: '#ecbeff',
    500: '#e2a2fe',
    950: '#000000',
  },
}
SCSS
$custom: #e2a2fe;
$custom-light: #ecbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a2fe",
  "rgb": {
    "r": 226,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 281.739,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80505,
    "c": 0.14245,
    "h": 315.2
  },
  "luminance": 0.49165
}

Semantic roles & 50–950 ramp

primary
#E2A2FE
secondary
#DFF7D4
accent
#E60046
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #E2A2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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