#E8AFFE#E8AFFE

#E8AFFE is a very light, vivid purple. Relative luminance 0.550; OKLCH L 83.3% C 0.123 H 316.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#E8AFFE
RGBrgb(232, 175, 254)
HSLhsl(283, 98%, 84%)
HSVhsv(283, 31%, 100%)
CMYKcmyk(8.7%, 31.1%, 0%, 0.4%)
CIE-LABlab(79.03, 34.28, -31.12)
CIE-LCHlch(79.03, 46.30, 317.76°)
OKLaboklab(83.28% 0.0892 -0.085)
OKLCHoklch(83.28% 0.123 316.4)
XYZxyz(66.4954, 54.9729, 100.8546)
Luminance0.5497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8AFFE #C5FEAF
analogous
#C1AFFE #E8AFFE #FEAFED
triadic
#E8AFFE #FEE8AF #AFFEE8
tetradic
#E8AFFE #FEC1AF #C5FEAF #AFEDFE
square
#E8AFFE #FEC1AF #C5FEAF #AFEDFE
split-complementary
#E8AFFE #EDFEAF #AFFEC1
monochromatic
#C536FC #D773FD #E8AFFE #F6E1FF #F6E1FF

Accessibility & contrast

On white

1.75
#E8AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#E8AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8AFFE
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8AFFE#FFFFFF#000000##000000
##E8AFFE1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4C0FF
Deuteranopia (green-blind)
#B1C5FC
Tritanopia (blue-blind)
#E8B8CC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e8affe;
/* rgb */ color: rgb(232, 175, 254);
/* oklch */ color: oklch(83.3% 0.123 316.4);
Tailwind
colors: {
  custom: {
    50: '#f0c7ff',
    500: '#e8affe',
    950: '#000000',
  },
}
SCSS
$custom: #e8affe;
$custom-light: #f0c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e8affe",
  "rgb": {
    "r": 232,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 283.291,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.83275,
    "c": 0.12323,
    "h": 316.4
  },
  "luminance": 0.54972
}

Semantic roles & 50–950 ramp

primary
#E8AFFE
secondary
#8EE46E
accent
#E60040
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #E8AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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