#E2AAFB#E2AAFB

#E2AAFB is a light, vivid purple. Relative luminance 0.519; OKLCH L 81.7% C 0.125 H 315.1°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#E2AAFB
RGBrgb(226, 170, 251)
HSLhsl(281, 91%, 83%)
HSVhsv(281, 32%, 98%)
CMYKcmyk(10%, 32.3%, 0%, 1.6%)
CIE-LABlab(77.21, 34.52, -32.35)
CIE-LCHlch(77.21, 47.31, 316.86°)
OKLaboklab(81.72% 0.0889 -0.0886)
OKLCHoklch(81.72% 0.125 315.1)
XYZxyz(63.1486, 51.8844, 97.9362)
Luminance0.5188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AAFB #C3FBAA
analogous
#B9AAFB #E2AAFB #FBAAEC
triadic
#E2AAFB #FBE2AA #AAFBE2
tetradic
#E2AAFB #FBB9AA #C3FBAA #AAECFB
square
#E2AAFB #FBB9AA #C3FBAA #AAECFB
split-complementary
#E2AAFB #ECFBAA #AAFBB9
monochromatic
#BA35F5 #CE70F8 #E2AAFB #F5E2FE #F5E2FE

Accessibility & contrast

On white

1.85
#E2AAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#E2AAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AAFB
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AAFB#FFFFFF#000000##000000
##E2AAFB1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBBFE
Deuteranopia (green-blind)
#ABC0F8
Tritanopia (blue-blind)
#E1B4C8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2aafb;
/* rgb */ color: rgb(226, 170, 251);
/* oklch */ color: oklch(81.7% 0.125 315.1);
Tailwind
colors: {
  custom: {
    50: '#ecc4fd',
    500: '#e2aafb',
    950: '#000000',
  },
}
SCSS
$custom: #e2aafb;
$custom-light: #ecc4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e2aafb",
  "rgb": {
    "r": 226,
    "g": 170,
    "b": 251
  },
  "hsl": {
    "h": 281.481,
    "s": 91.011,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81724,
    "c": 0.12549,
    "h": 315.1
  },
  "luminance": 0.51883
}

Semantic roles & 50–950 ramp

primary
#E2AAFB
secondary
#8FDE6B
accent
#E60047
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161217
muted
#858285

Preview Lab

Preview with #E2AAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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