#E8AEFB#E8AEFB

#E8AEFB is a very light, vivid purple. Relative luminance 0.544; OKLCH L 83.0% C 0.122 H 317.6°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#E8AEFB
RGBrgb(232, 174, 251)
HSLhsl(285, 91%, 83%)
HSVhsv(285, 31%, 98%)
CMYKcmyk(7.6%, 30.7%, 0%, 1.6%)
CIE-LABlab(78.69, 34.22, -30.02)
CIE-LCHlch(78.69, 45.52, 318.74°)
OKLaboklab(82.98% 0.0898 -0.0819)
OKLCHoklch(82.98% 0.122 317.6)
XYZxyz(65.8249, 54.3944, 98.2797)
Luminance0.5439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8AEFB #C1FBAE
analogous
#C1AEFB #E8AEFB #FBAEE7
triadic
#E8AEFB #FBE8AE #AEFBE8
tetradic
#E8AEFB #FBC1AE #C1FBAE #AEE7FB
square
#E8AEFB #FBC1AE #C1FBAE #AEE7FB
split-complementary
#E8AEFB #E7FBAE #AEFBC1
monochromatic
#C739F5 #D774F8 #E8AEFB #F7E2FE #F7E2FE

Accessibility & contrast

On white

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

On black

11.88
#E8AEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8AEFB
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8AEFB#FFFFFF#000000##000000
##E8AEFB1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFE
Deuteranopia (green-blind)
#B1C5F9
Tritanopia (blue-blind)
#E8B7CA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e8aefb;
/* rgb */ color: rgb(232, 174, 251);
/* oklch */ color: oklch(83.0% 0.122 317.6);
Tailwind
colors: {
  custom: {
    50: '#f0c6fd',
    500: '#e8aefb',
    950: '#000000',
  },
}
SCSS
$custom: #e8aefb;
$custom-light: #f0c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8aefb",
  "rgb": {
    "r": 232,
    "g": 174,
    "b": 251
  },
  "hsl": {
    "h": 285.195,
    "s": 90.588,
    "l": 83.333
  },
  "oklch": {
    "l": 0.82984,
    "c": 0.1216,
    "h": 317.6
  },
  "luminance": 0.54393
}

Semantic roles & 50–950 ramp

primary
#E8AEFB
secondary
#8ADF6F
accent
#E60039
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #E8AEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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