#E2AFDC#E2AFDC

#E2AFDC is a light, moderate purple. Relative luminance 0.520; OKLCH L 81.4% C 0.084 H 330.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#E2AFDC
RGBrgb(226, 175, 220)
HSLhsl(307, 47%, 79%)
HSVhsv(307, 23%, 89%)
CMYKcmyk(0%, 22.6%, 2.7%, 11.4%)
CIE-LABlab(77.28, 25.92, -15.48)
CIE-LCHlch(77.28, 30.19, 329.15°)
OKLaboklab(81.42% 0.0727 -0.0414)
OKLCHoklch(81.42% 0.084 330.3)
XYZxyz(59.6111, 51.9977, 74.5927)
Luminance0.5200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFDC #AFE2B5
analogous
#CEAFE2 #E2AFDC #E2AFC2
triadic
#E2AFDC #DCE2AF #AFDCE2
tetradic
#E2AFDC #E2CEAF #AFE2B5 #AFC2E2
square
#E2AFDC #E2CEAF #AFE2B5 #AFC2E2
split-complementary
#E2AFDC #C2E2AF #AFE2CE
monochromatic
#C155B5 #D282C8 #E2AFDC #F2DCF0 #F7E9F5

Accessibility & contrast

On white

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

On black

11.40
#E2AFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFDC
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFDC#FFFFFF#000000##000000
##E2AFDC1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBBDE
Deuteranopia (green-blind)
#B9C1DA
Tritanopia (blue-blind)
#E6B2BE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2afdc;
/* rgb */ color: rgb(226, 175, 220);
/* oklch */ color: oklch(81.4% 0.084 330.3);
Tailwind
colors: {
  custom: {
    50: '#ebc7e7',
    500: '#e2afdc',
    950: '#000000',
  },
}
SCSS
$custom: #e2afdc;
$custom-light: #ebc7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afdc",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 307.059,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81421,
    "c": 0.08368,
    "h": 330.3
  },
  "luminance": 0.51996
}

Semantic roles & 50–950 ramp

primary
#E2AFDC
secondary
#7ABB81
accent
#BA3C2B
background
#FEFDFE
surface
#FDF9FC
border
#D5D2D5
text
#161316
muted
#848284

Preview Lab

Preview with #E2AFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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