#E5AFDF#E5AFDF

#E5AFDF is a light, moderate purple. Relative luminance 0.526; OKLCH L 81.8% C 0.089 H 330.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#E5AFDF
RGBrgb(229, 175, 223)
HSLhsl(307, 51%, 79%)
HSVhsv(307, 24%, 90%)
CMYKcmyk(0%, 23.6%, 2.6%, 10.2%)
CIE-LABlab(77.67, 27.46, -16.50)
CIE-LCHlch(77.67, 32.04, 329.00°)
OKLaboklab(81.82% 0.077 -0.0442)
OKLCHoklch(81.82% 0.089 330.1)
XYZxyz(60.9611, 52.6475, 76.7485)
Luminance0.5265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5AFDF #AFE5B5
analogous
#D0AFE5 #E5AFDF #E5AFC4
triadic
#E5AFDF #DFE5AF #AFDFE5
tetradic
#E5AFDF #E5D0AF #AFE5B5 #AFC4E5
square
#E5AFDF #E5D0AF #AFE5B5 #AFC4E5
split-complementary
#E5AFDF #C4E5AF #AFE5D0
monochromatic
#C753BA #D681CD #E5AFDF #F4DDF1 #F7E8F6

Accessibility & contrast

On white

1.82
#E5AFDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#E5AFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5AFDF
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5AFDF#FFFFFF#000000##000000
##E5AFDF1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBCE1
Deuteranopia (green-blind)
#BAC3DD
Tritanopia (blue-blind)
#EAB2C0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e5afdf;
/* rgb */ color: rgb(229, 175, 223);
/* oklch */ color: oklch(81.8% 0.089 330.1);
Tailwind
colors: {
  custom: {
    50: '#edc7e9',
    500: '#e5afdf',
    950: '#000000',
  },
}
SCSS
$custom: #e5afdf;
$custom-light: #edc7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e5afdf",
  "rgb": {
    "r": 229,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 306.667,
    "s": 50.943,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81816,
    "c": 0.08877,
    "h": 330.1
  },
  "luminance": 0.52646
}

Semantic roles & 50–950 ramp

primary
#E5AFDF
secondary
#79BF81
accent
#BE3827
background
#FFFDFE
surface
#FEF9FC
border
#D6D2D5
text
#161316
muted
#858284

Preview Lab

Preview with #E5AFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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