#E7AEFB#E7AEFB

#E7AEFB is a very light, vivid purple. Relative luminance 0.542; OKLCH L 82.9% C 0.121 H 317.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#E7AEFB
RGBrgb(231, 174, 251)
HSLhsl(284, 91%, 83%)
HSVhsv(284, 31%, 98%)
CMYKcmyk(8%, 30.7%, 0%, 1.6%)
CIE-LABlab(78.59, 33.91, -30.18)
CIE-LCHlch(78.59, 45.40, 318.33°)
OKLaboklab(82.89% 0.0887 -0.0824)
OKLCHoklch(82.89% 0.121 317.1)
XYZxyz(65.5011, 54.2275, 98.2645)
Luminance0.5423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AEFB #C2FBAE
analogous
#C0AEFB #E7AEFB #FBAEE8
triadic
#E7AEFB #FBE7AE #AEFBE7
tetradic
#E7AEFB #FBC0AE #C2FBAE #AEE8FB
square
#E7AEFB #FBC0AE #C2FBAE #AEE8FB
split-complementary
#E7AEFB #E8FBAE #AEFBC0
monochromatic
#C439F5 #D674F8 #E7AEFB #F6E2FE #F6E2FE

Accessibility & contrast

On white

1.77
#E7AEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#E7AEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AEFB
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AEFB#FFFFFF#000000##000000
##E7AEFB1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFE
Deuteranopia (green-blind)
#B1C4F9
Tritanopia (blue-blind)
#E7B7CA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e7aefb;
/* rgb */ color: rgb(231, 174, 251);
/* oklch */ color: oklch(82.9% 0.121 317.1);
Tailwind
colors: {
  custom: {
    50: '#efc6fd',
    500: '#e7aefb',
    950: '#000000',
  },
}
SCSS
$custom: #e7aefb;
$custom-light: #efc6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e7aefb",
  "rgb": {
    "r": 231,
    "g": 174,
    "b": 251
  },
  "hsl": {
    "h": 284.416,
    "s": 90.588,
    "l": 83.333
  },
  "oklch": {
    "l": 0.82888,
    "c": 0.12109,
    "h": 317.1
  },
  "luminance": 0.54226
}

Semantic roles & 50–950 ramp

primary
#E7AEFB
secondary
#8CDF6F
accent
#E6003C
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E7AEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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