#D4AFDF#D4AFDF

#D4AFDF is a light, moderate purple. Relative luminance 0.500; OKLCH L 80.2% C 0.078 H 318.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#D4AFDF
RGBrgb(212, 175, 223)
HSLhsl(286, 43%, 78%)
HSVhsv(286, 22%, 87%)
CMYKcmyk(4.9%, 21.5%, 0%, 12.5%)
CIE-LABlab(76.06, 21.85, -19.08)
CIE-LCHlch(76.06, 29.01, 318.87°)
OKLaboklab(80.21% 0.058 -0.0515)
OKLCHoklch(80.21% 0.078 318.4)
XYZxyz(55.7987, 49.9856, 76.5065)
Luminance0.4999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AFDF #BADFAF
analogous
#BCAFDF #D4AFDF #DFAFD2
triadic
#D4AFDF #DFD4AF #AFDFD4
tetradic
#D4AFDF #DFBCAF #BADFAF #AFD2DF
square
#D4AFDF #DFBCAF #BADFAF #AFD2DF
split-complementary
#D4AFDF #D2DFAF #AFDFBC
monochromatic
#A558BC #BD83CE #D4AFDF #EBDBF0 #F3E9F6

Accessibility & contrast

On white

1.91
#D4AFDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#D4AFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AFDF
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AFDF#FFFFFF#000000##000000
##D4AFDF1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAB9E1
Deuteranopia (green-blind)
#B2BDDD
Tritanopia (blue-blind)
#D4B4BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4afdf;
/* rgb */ color: rgb(212, 175, 223);
/* oklch */ color: oklch(80.2% 0.078 318.4);
Tailwind
colors: {
  custom: {
    50: '#e1c7e9',
    500: '#d4afdf',
    950: '#000000',
  },
}
SCSS
$custom: #d4afdf;
$custom-light: #e1c7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d4afdf",
  "rgb": {
    "r": 212,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 286.25,
    "s": 42.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80209,
    "c": 0.07761,
    "h": 318.4
  },
  "luminance": 0.49985
}

Semantic roles & 50–950 ramp

primary
#D4AFDF
secondary
#E1EDDE
accent
#B6304E
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #D4AFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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