#E8AFFB#E8AFFB

#E8AFFB is a very light, moderate purple. Relative luminance 0.548; OKLCH L 83.2% C 0.120 H 317.5°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#E8AFFB
RGBrgb(232, 175, 251)
HSLhsl(285, 90%, 84%)
HSVhsv(285, 30%, 98%)
CMYKcmyk(7.6%, 30.3%, 0%, 1.6%)
CIE-LABlab(78.92, 33.69, -29.68)
CIE-LCHlch(78.92, 44.90, 318.62°)
OKLaboklab(83.16% 0.0884 -0.081)
OKLCHoklch(83.16% 0.12 317.5)
XYZxyz(66.0188, 54.7822, 98.3443)
Luminance0.5478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8AFFB #C2FBAF
analogous
#C2AFFB #E8AFFB #FBAFE8
triadic
#E8AFFB #FBE8AF #AFFBE8
tetradic
#E8AFFB #FBC2AF #C2FBAF #AFE8FB
square
#E8AFFB #FBC2AF #C2FBAF #AFE8FB
split-complementary
#E8AFFB #E8FBAF #AFFBC2
monochromatic
#C63AF5 #D775F8 #E8AFFB #F7E2FE #F7E2FE

Accessibility & contrast

On white

1.76
#E8AFFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#E8AFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8AFFB
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8AFFB#FFFFFF#000000##000000
##E8AFFB1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5C0FE
Deuteranopia (green-blind)
#B2C5F9
Tritanopia (blue-blind)
#E8B8CA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e8affb;
/* rgb */ color: rgb(232, 175, 251);
/* oklch */ color: oklch(83.2% 0.120 317.5);
Tailwind
colors: {
  custom: {
    50: '#f0c7fd',
    500: '#e8affb',
    950: '#000000',
  },
}
SCSS
$custom: #e8affb;
$custom-light: #f0c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8affb",
  "rgb": {
    "r": 232,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 285,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.83155,
    "c": 0.11988,
    "h": 317.5
  },
  "luminance": 0.54781
}

Semantic roles & 50–950 ramp

primary
#E8AFFB
secondary
#8BDF6F
accent
#E60039
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #E8AFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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