#E2AAEF#E2AAEF

#E2AAEF is a light, moderate purple. Relative luminance 0.511; OKLCH L 81.2% C 0.112 H 319.9°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#E2AAEF
RGBrgb(226, 170, 239)
HSLhsl(289, 68%, 80%)
HSVhsv(289, 29%, 94%)
CMYKcmyk(5.4%, 28.9%, 0%, 6.3%)
CIE-LABlab(76.77, 32.16, -26.55)
CIE-LCHlch(76.77, 41.70, 320.46°)
OKLaboklab(81.24% 0.0858 -0.0722)
OKLCHoklch(81.24% 0.112 319.9)
XYZxyz(61.3167, 51.1517, 88.2878)
Luminance0.5115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AAEF #B7EFAA
analogous
#C0AAEF #E2AAEF #EFAAD9
triadic
#E2AAEF #EFE2AA #AAEFE2
tetradic
#E2AAEF #EFC0AA #B7EFAA #AAD9EF
square
#E2AAEF #EFC0AA #B7EFAA #AAD9EF
split-complementary
#E2AAEF #D9EFAA #AAEFC0
monochromatic
#BF43DC #D076E5 #E2AAEF #F4DEF9 #F6E5FA

Accessibility & contrast

On white

1.87
#E2AAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#E2AAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AAEF
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AAEF#FFFFFF#000000##000000
##E2AAEF1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BAF2
Deuteranopia (green-blind)
#AFC0ED
Tritanopia (blue-blind)
#E3B1C3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2aaef;
/* rgb */ color: rgb(226, 170, 239);
/* oklch */ color: oklch(81.2% 0.112 319.9);
Tailwind
colors: {
  custom: {
    50: '#ecc4f4',
    500: '#e2aaef',
    950: '#000000',
  },
}
SCSS
$custom: #e2aaef;
$custom-light: #ecc4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2aaef",
  "rgb": {
    "r": 226,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 288.696,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81243,
    "c": 0.1121,
    "h": 319.9
  },
  "luminance": 0.5115
}

Semantic roles & 50–950 ramp

primary
#E2AAEF
secondary
#82CD70
accent
#D01538
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161217
muted
#848285

Preview Lab

Preview with #E2AAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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