#E4AFFE#E4AFFE

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

Color values

HEX#E4AFFE
RGBrgb(228, 175, 254)
HSLhsl(280, 98%, 84%)
HSVhsv(280, 31%, 100%)
CMYKcmyk(10.2%, 31.1%, 0%, 0.4%)
CIE-LABlab(78.64, 33.05, -31.74)
CIE-LCHlch(78.64, 45.83, 316.16°)
OKLaboklab(82.9% 0.0847 -0.0869)
OKLCHoklch(82.9% 0.121 314.3)
XYZxyz(65.2114, 54.3108, 100.7945)
Luminance0.5431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4AFFE #C9FEAF
analogous
#BDAFFE #E4AFFE #FEAFF1
triadic
#E4AFFE #FEE4AF #AFFEE4
tetradic
#E4AFFE #FEBDAF #C9FEAF #AFF1FE
square
#E4AFFE #FEBDAF #C9FEAF #AFF1FE
split-complementary
#E4AFFE #F1FEAF #AFFEBD
monochromatic
#BB36FC #D073FD #E4AFFE #F5E1FF #F5E1FF

Accessibility & contrast

On white

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

On black

11.86
#E4AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4AFFE
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4AFFE#FFFFFF#000000##000000
##E4AFFE1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4affe;
/* rgb */ color: rgb(228, 175, 254);
/* oklch */ color: oklch(82.9% 0.121 314.3);
Tailwind
colors: {
  custom: {
    50: '#edc7ff',
    500: '#e4affe',
    950: '#000000',
  },
}
SCSS
$custom: #e4affe;
$custom-light: #edc7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e4affe",
  "rgb": {
    "r": 228,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 280.253,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.82895,
    "c": 0.12134,
    "h": 314.3
  },
  "luminance": 0.5431
}

Semantic roles & 50–950 ramp

primary
#E4AFFE
secondary
#94E46E
accent
#E6004C
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E4AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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