#E2AFDE#E2AFDE

#E2AFDE is a light, moderate purple. Relative luminance 0.521; OKLCH L 81.5% C 0.086 H 328.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#E2AFDE
RGBrgb(226, 175, 222)
HSLhsl(305, 47%, 79%)
HSVhsv(305, 23%, 89%)
CMYKcmyk(0%, 22.6%, 1.8%, 11.4%)
CIE-LABlab(77.34, 26.28, -16.47)
CIE-LCHlch(77.34, 31.02, 327.93°)
OKLaboklab(81.49% 0.0733 -0.0442)
OKLCHoklch(81.49% 0.086 328.9)
XYZxyz(59.8775, 52.1043, 75.9960)
Luminance0.5210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFDE #AFE2B3
analogous
#CCAFE2 #E2AFDE #E2AFC4
triadic
#E2AFDE #DEE2AF #AFDEE2
tetradic
#E2AFDE #E2CCAF #AFE2B3 #AFC4E2
square
#E2AFDE #E2CCAF #AFE2B3 #AFC4E2
split-complementary
#E2AFDE #C4E2AF #AFE2CC
monochromatic
#C155B9 #D282CB #E2AFDE #F2DCF1 #F7E9F6

Accessibility & contrast

On white

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

On black

11.42
#E2AFDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFDE
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFDE#FFFFFF#000000##000000
##E2AFDE1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBBE0
Deuteranopia (green-blind)
#B8C1DC
Tritanopia (blue-blind)
#E6B2BF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2afde;
/* rgb */ color: rgb(226, 175, 222);
/* oklch */ color: oklch(81.5% 0.086 328.9);
Tailwind
colors: {
  custom: {
    50: '#ebc7e8',
    500: '#e2afde',
    950: '#000000',
  },
}
SCSS
$custom: #e2afde;
$custom-light: #ebc7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afde",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 222
  },
  "hsl": {
    "h": 304.706,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81491,
    "c": 0.08561,
    "h": 328.9
  },
  "luminance": 0.52103
}

Semantic roles & 50–950 ramp

primary
#E2AFDE
secondary
#7ABB7F
accent
#BA372B
background
#FEFDFE
surface
#FDF9FC
border
#D5D2D5
text
#161316
muted
#848284

Preview Lab

Preview with #E2AFDE

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

Preview Lab → · Contrast checker → · Palette generator →

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