#E2AFDF#E2AFDF

#E2AFDF is a light, moderate purple. Relative luminance 0.522; OKLCH L 81.5% C 0.087 H 328.3°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#E2AFDF
RGBrgb(226, 175, 223)
HSLhsl(304, 47%, 79%)
HSVhsv(304, 23%, 89%)
CMYKcmyk(0%, 22.6%, 1.3%, 11.4%)
CIE-LABlab(77.38, 26.47, -16.97)
CIE-LCHlch(77.38, 31.44, 327.34°)
OKLaboklab(81.53% 0.0736 -0.0455)
OKLCHoklch(81.53% 0.087 328.3)
XYZxyz(60.0119, 52.1581, 76.7040)
Luminance0.5216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFDF #AFE2B2
analogous
#CBAFE2 #E2AFDF #E2AFC5
triadic
#E2AFDF #DFE2AF #AFDFE2
tetradic
#E2AFDF #E2CBAF #AFE2B2 #AFC5E2
square
#E2AFDF #E2CBAF #AFE2B2 #AFC5E2
split-complementary
#E2AFDF #C5E2AF #AFE2CB
monochromatic
#C155BB #D282CD #E2AFDF #F2DCF1 #F7E9F6

Accessibility & contrast

On white

1.84
#E2AFDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#E2AFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFDF
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFDF#FFFFFF#000000##000000
##E2AFDF1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBBE1
Deuteranopia (green-blind)
#B8C1DD
Tritanopia (blue-blind)
#E6B3C0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2afdf;
/* rgb */ color: rgb(226, 175, 223);
/* oklch */ color: oklch(81.5% 0.087 328.3);
Tailwind
colors: {
  custom: {
    50: '#ebc7e9',
    500: '#e2afdf',
    950: '#000000',
  },
}
SCSS
$custom: #e2afdf;
$custom-light: #ebc7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afdf",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 303.529,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81526,
    "c": 0.08658,
    "h": 328.3
  },
  "luminance": 0.52156
}

Semantic roles & 50–950 ramp

primary
#E2AFDF
secondary
#7ABB7E
accent
#BA342B
background
#FEFDFE
surface
#FDF9FC
border
#D5D2D5
text
#161316
muted
#848284

Preview Lab

Preview with #E2AFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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