#E5AFFC#E5AFFC

#E5AFFC is a very light, moderate purple. Relative luminance 0.543; OKLCH L 82.9% C 0.120 H 315.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#E5AFFC
RGBrgb(229, 175, 252)
HSLhsl(282, 93%, 84%)
HSVhsv(282, 31%, 99%)
CMYKcmyk(9.1%, 30.6%, 0%, 1.2%)
CIE-LABlab(78.66, 32.96, -30.63)
CIE-LCHlch(78.66, 44.99, 317.10°)
OKLaboklab(82.91% 0.0853 -0.0837)
OKLCHoklch(82.91% 0.12 315.5)
XYZxyz(65.2111, 54.3475, 99.1314)
Luminance0.5435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5AFFC #C6FCAF
analogous
#BEAFFC #E5AFFC #FCAFEC
triadic
#E5AFFC #FCE5AF #AFFCE5
tetradic
#E5AFFC #FCBEAF #C6FCAF #AFECFC
square
#E5AFFC #FCBEAF #C6FCAF #AFECFC
split-complementary
#E5AFFC #ECFCAF #AFFCBE
monochromatic
#BF39F8 #D274FA #E5AFFC #F5E2FE #F5E2FE

Accessibility & contrast

On white

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

On black

11.87
#E5AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5AFFC
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5AFFC#FFFFFF#000000##000000
##E5AFFC1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFF
Deuteranopia (green-blind)
#B0C4FA
Tritanopia (blue-blind)
#E4B8CB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e5affc;
/* rgb */ color: rgb(229, 175, 252);
/* oklch */ color: oklch(82.9% 0.120 315.5);
Tailwind
colors: {
  custom: {
    50: '#eec7fd',
    500: '#e5affc',
    950: '#000000',
  },
}
SCSS
$custom: #e5affc;
$custom-light: #eec7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e5affc",
  "rgb": {
    "r": 229,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 282.078,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.82909,
    "c": 0.11951,
    "h": 315.5
  },
  "luminance": 0.54346
}

Semantic roles & 50–950 ramp

primary
#E5AFFC
secondary
#91E06F
accent
#E60045
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E5AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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