#E8AFFC#E8AFFC

#E8AFFC is a very light, vivid purple. Relative luminance 0.548; OKLCH L 83.2% C 0.121 H 317.1°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#E8AFFC
RGBrgb(232, 175, 252)
HSLhsl(284, 93%, 84%)
HSVhsv(284, 31%, 99%)
CMYKcmyk(7.9%, 30.6%, 0%, 1.2%)
CIE-LABlab(78.95, 33.88, -30.16)
CIE-LCHlch(78.95, 45.36, 318.33°)
OKLaboklab(83.2% 0.0887 -0.0823)
OKLCHoklch(83.2% 0.121 317.1)
XYZxyz(66.1768, 54.8454, 99.1767)
Luminance0.5484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8AFFC #C3FCAF
analogous
#C1AFFC #E8AFFC #FCAFE9
triadic
#E8AFFC #FCE8AF #AFFCE8
tetradic
#E8AFFC #FCC1AF #C3FCAF #AFE9FC
square
#E8AFFC #FCC1AF #C3FCAF #AFE9FC
split-complementary
#E8AFFC #E9FCAF #AFFCC1
monochromatic
#C639F8 #D774FA #E8AFFC #F7E2FE #F7E2FE

Accessibility & contrast

On white

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

On black

11.97
#E8AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8AFFC
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8AFFC#FFFFFF#000000##000000
##E8AFFC1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5C0FF
Deuteranopia (green-blind)
#B2C5FA
Tritanopia (blue-blind)
#E8B8CB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e8affc;
/* rgb */ color: rgb(232, 175, 252);
/* oklch */ color: oklch(83.2% 0.121 317.1);
Tailwind
colors: {
  custom: {
    50: '#f0c7fd',
    500: '#e8affc',
    950: '#000000',
  },
}
SCSS
$custom: #e8affc;
$custom-light: #f0c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8affc",
  "rgb": {
    "r": 232,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 284.416,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.83195,
    "c": 0.12099,
    "h": 317.1
  },
  "luminance": 0.54844
}

Semantic roles & 50–950 ramp

primary
#E8AFFC
secondary
#8CE06F
accent
#E6003C
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #E8AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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