#E7AFFB#E7AFFB

#E7AFFB is a very light, moderate purple. Relative luminance 0.546; OKLCH L 83.1% C 0.119 H 317.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#E7AFFB
RGBrgb(231, 175, 251)
HSLhsl(284, 90%, 84%)
HSVhsv(284, 30%, 98%)
CMYKcmyk(8%, 30.3%, 0%, 1.6%)
CIE-LABlab(78.82, 33.38, -29.84)
CIE-LCHlch(78.82, 44.77, 318.21°)
OKLaboklab(83.06% 0.0873 -0.0814)
OKLCHoklch(83.06% 0.119 317)
XYZxyz(65.6950, 54.6153, 98.3292)
Luminance0.5461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFFB #C3FBAF
analogous
#C1AFFB #E7AFFB #FBAFE9
triadic
#E7AFFB #FBE7AF #AFFBE7
tetradic
#E7AFFB #FBC1AF #C3FBAF #AFE9FB
square
#E7AFFB #FBC1AF #C3FBAF #AFE9FB
split-complementary
#E7AFFB #E9FBAF #AFFBC1
monochromatic
#C43AF5 #D675F8 #E7AFFB #F6E2FE #F6E2FE

Accessibility & contrast

On white

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

On black

11.92
#E7AFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFFB
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFFB#FFFFFF#000000##000000
##E7AFFB1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7affb;
/* rgb */ color: rgb(231, 175, 251);
/* oklch */ color: oklch(83.1% 0.119 317.0);
Tailwind
colors: {
  custom: {
    50: '#efc7fd',
    500: '#e7affb',
    950: '#000000',
  },
}
SCSS
$custom: #e7affb;
$custom-light: #efc7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e7affb",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 284.211,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.83059,
    "c": 0.11937,
    "h": 317
  },
  "luminance": 0.54614
}

Semantic roles & 50–950 ramp

primary
#E7AFFB
secondary
#8DDF6F
accent
#E6003C
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E7AFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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