#E4AFFC#E4AFFC

#E4AFFC is a very light, moderate purple. Relative luminance 0.542; OKLCH L 82.8% C 0.119 H 315.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#E4AFFC
RGBrgb(228, 175, 252)
HSLhsl(281, 93%, 84%)
HSVhsv(281, 31%, 99%)
CMYKcmyk(9.5%, 30.6%, 0%, 1.2%)
CIE-LABlab(78.57, 32.65, -30.78)
CIE-LCHlch(78.57, 44.87, 316.69°)
OKLaboklab(82.81% 0.0842 -0.0842)
OKLCHoklch(82.81% 0.119 315)
XYZxyz(64.8928, 54.1834, 99.1165)
Luminance0.5418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4AFFC #C7FCAF
analogous
#BDAFFC #E4AFFC #FCAFED
triadic
#E4AFFC #FCE4AF #AFFCE4
tetradic
#E4AFFC #FCBDAF #C7FCAF #AFEDFC
square
#E4AFFC #FCBDAF #C7FCAF #AFEDFC
split-complementary
#E4AFFC #EDFCAF #AFFCBD
monochromatic
#BC39F8 #D074FA #E4AFFC #F5E2FE #F5E2FE

Accessibility & contrast

On white

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

On black

11.84
#E4AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4AFFC
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4AFFC#FFFFFF#000000##000000
##E4AFFC1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4affc;
/* rgb */ color: rgb(228, 175, 252);
/* oklch */ color: oklch(82.8% 0.119 315.0);
Tailwind
colors: {
  custom: {
    50: '#edc7fd',
    500: '#e4affc',
    950: '#000000',
  },
}
SCSS
$custom: #e4affc;
$custom-light: #edc7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e4affc",
  "rgb": {
    "r": 228,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 281.299,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.82814,
    "c": 0.11904,
    "h": 315
  },
  "luminance": 0.54182
}

Semantic roles & 50–950 ramp

primary
#E4AFFC
secondary
#92E06F
accent
#E60048
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E4AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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