#E5AFFE#E5AFFE

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

Color values

HEX#E5AFFE
RGBrgb(229, 175, 254)
HSLhsl(281, 98%, 84%)
HSVhsv(281, 31%, 100%)
CMYKcmyk(9.8%, 31.1%, 0%, 0.4%)
CIE-LABlab(78.74, 33.36, -31.59)
CIE-LCHlch(78.74, 45.94, 316.56°)
OKLaboklab(82.99% 0.0858 -0.0864)
OKLCHoklch(82.99% 0.122 314.8)
XYZxyz(65.5297, 54.4749, 100.8094)
Luminance0.5447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5AFFE #C8FEAF
analogous
#BEAFFE #E5AFFE #FEAFEF
triadic
#E5AFFE #FEE5AF #AFFEE5
tetradic
#E5AFFE #FEBEAF #C8FEAF #AFEFFE
square
#E5AFFE #FEBEAF #C8FEAF #AFEFFE
split-complementary
#E5AFFE #EFFEAF #AFFEBE
monochromatic
#BE36FC #D173FD #E5AFFE #F5E1FF #F5E1FF

Accessibility & contrast

On white

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

On black

11.89
#E5AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5AFFE
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5AFFE#FFFFFF#000000##000000
##E5AFFE1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3C0FF
Deuteranopia (green-blind)
#AFC4FC
Tritanopia (blue-blind)
#E4B9CC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e5affe;
/* rgb */ color: rgb(229, 175, 254);
/* oklch */ color: oklch(83.0% 0.122 314.8);
Tailwind
colors: {
  custom: {
    50: '#eec7ff',
    500: '#e5affe',
    950: '#000000',
  },
}
SCSS
$custom: #e5affe;
$custom-light: #eec7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e5affe",
  "rgb": {
    "r": 229,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 281.013,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.82989,
    "c": 0.12179,
    "h": 314.8
  },
  "luminance": 0.54474
}

Semantic roles & 50–950 ramp

primary
#E5AFFE
secondary
#93E46E
accent
#E60049
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E5AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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