#D2AFDF#D2AFDF

#D2AFDF is a light, moderate purple. Relative luminance 0.497; OKLCH L 80.0% C 0.077 H 316.8°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#D2AFDF
RGBrgb(210, 175, 223)
HSLhsl(284, 43%, 78%)
HSVhsv(284, 22%, 87%)
CMYKcmyk(5.8%, 21.5%, 0%, 12.5%)
CIE-LABlab(75.88, 21.20, -19.37)
CIE-LCHlch(75.88, 28.72, 317.57°)
OKLaboklab(80.03% 0.0558 -0.0524)
OKLCHoklch(80.03% 0.077 316.8)
XYZxyz(55.2256, 49.6901, 76.4796)
Luminance0.4969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFDF #BCDFAF
analogous
#BAAFDF #D2AFDF #DFAFD4
triadic
#D2AFDF #DFD2AF #AFDFD2
tetradic
#D2AFDF #DFBAAF #BCDFAF #AFD4DF
square
#D2AFDF #DFBAAF #BCDFAF #AFD4DF
split-complementary
#D2AFDF #D4DFAF #AFDFBA
monochromatic
#A158BC #B983CE #D2AFDF #EBDBF0 #F3E9F6

Accessibility & contrast

On white

1.92
#D2AFDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#D2AFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFDF
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFDF#FFFFFF#000000##000000
##D2AFDF1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B9E1
Deuteranopia (green-blind)
#B1BCDD
Tritanopia (blue-blind)
#D2B4BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2afdf;
/* rgb */ color: rgb(210, 175, 223);
/* oklch */ color: oklch(80.0% 0.077 316.8);
Tailwind
colors: {
  custom: {
    50: '#e0c7e9',
    500: '#d2afdf',
    950: '#000000',
  },
}
SCSS
$custom: #d2afdf;
$custom-light: #e0c7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d2afdf",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 283.75,
    "s": 42.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80026,
    "c": 0.07653,
    "h": 316.8
  },
  "luminance": 0.49689
}

Semantic roles & 50–950 ramp

primary
#D2AFDF
secondary
#E2EDDE
accent
#B63054
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #D2AFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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