#E7AAEF#E7AAEF

#E7AAEF is a light, moderate purple. Relative luminance 0.520; OKLCH L 81.7% C 0.115 H 322.6°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#E7AAEF
RGBrgb(231, 170, 239)
HSLhsl(293, 68%, 80%)
HSVhsv(293, 29%, 94%)
CMYKcmyk(3.3%, 28.9%, 0%, 6.3%)
CIE-LABlab(77.26, 33.74, -25.75)
CIE-LCHlch(77.26, 42.44, 322.65°)
OKLaboklab(81.73% 0.0914 -0.0699)
OKLCHoklch(81.73% 0.115 322.6)
XYZxyz(62.9079, 51.9721, 88.3624)
Luminance0.5197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AAEF #B2EFAA
analogous
#C4AAEF #E7AAEF #EFAAD5
triadic
#E7AAEF #EFE7AA #AAEFE7
tetradic
#E7AAEF #EFC4AA #B2EFAA #AAD5EF
square
#E7AAEF #EFC4AA #B2EFAA #AAD5EF
split-complementary
#E7AAEF #D5EFAA #AAEFC4
monochromatic
#CA43DC #D876E5 #E7AAEF #F6DEF9 #F8E5FA

Accessibility & contrast

On white

1.84
#E7AAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#E7AAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AAEF
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AAEF#FFFFFF#000000##000000
##E7AAEF1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BAF2
Deuteranopia (green-blind)
#B2C1ED
Tritanopia (blue-blind)
#E9B1C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e7aaef;
/* rgb */ color: rgb(231, 170, 239);
/* oklch */ color: oklch(81.7% 0.115 322.6);
Tailwind
colors: {
  custom: {
    50: '#efc4f4',
    500: '#e7aaef',
    950: '#000000',
  },
}
SCSS
$custom: #e7aaef;
$custom-light: #efc4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e7aaef",
  "rgb": {
    "r": 231,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 293.043,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81732,
    "c": 0.11503,
    "h": 322.6
  },
  "luminance": 0.5197
}

Semantic roles & 50–950 ramp

primary
#E7AAEF
secondary
#7BCD70
accent
#D0152B
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#161217
muted
#858285

Preview Lab

Preview with #E7AAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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