#E7AFEB#E7AFEB

#E7AFEB is a very light, moderate purple. Relative luminance 0.536; OKLCH L 82.4% C 0.102 H 324.2°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#E7AFEB
RGBrgb(231, 175, 235)
HSLhsl(296, 60%, 80%)
HSVhsv(296, 26%, 92%)
CMYKcmyk(1.7%, 25.5%, 0%, 7.8%)
CIE-LABlab(78.26, 30.31, -22.08)
CIE-LCHlch(78.26, 37.50, 323.93°)
OKLaboklab(82.44% 0.0828 -0.0597)
OKLCHoklch(82.44% 0.102 324.2)
XYZxyz(63.2787, 53.6487, 85.6030)
Luminance0.5365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFEB #B3EBAF
analogous
#C9AFEB #E7AFEB #EBAFD1
triadic
#E7AFEB #EBE7AF #AFEBE7
tetradic
#E7AFEB #EBC9AF #B3EBAF #AFD1EB
square
#E7AFEB #EBC9AF #B3EBAF #AFD1EB
split-complementary
#E7AFEB #D1EBAF #AFEBC9
monochromatic
#CA4DD3 #D87EDF #E7AFEB #F6E0F7 #F8E7F9

Accessibility & contrast

On white

1.79
#E7AFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#E7AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFEB
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFEB#FFFFFF#000000##000000
##E7AFEB1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABDED
Deuteranopia (green-blind)
#B7C4E9
Tritanopia (blue-blind)
#EAB4C4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e7afeb;
/* rgb */ color: rgb(231, 175, 235);
/* oklch */ color: oklch(82.4% 0.102 324.2);
Tailwind
colors: {
  custom: {
    50: '#efc7f1',
    500: '#e7afeb',
    950: '#000000',
  },
}
SCSS
$custom: #e7afeb;
$custom-light: #efc7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7afeb",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 296,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.82444,
    "c": 0.1021,
    "h": 324.2
  },
  "luminance": 0.53647
}

Semantic roles & 50–950 ramp

primary
#E7AFEB
secondary
#7CC777
accent
#C81E29
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#161316
muted
#858285

Preview Lab

Preview with #E7AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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