#D2AFDB#D2AFDB

#D2AFDB is a light, moderate purple. Relative luminance 0.495; OKLCH L 79.9% C 0.072 H 319.3°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#D2AFDB
RGBrgb(210, 175, 219)
HSLhsl(288, 38%, 77%)
HSVhsv(288, 20%, 86%)
CMYKcmyk(4.1%, 20.1%, 0%, 14.1%)
CIE-LABlab(75.75, 20.42, -17.40)
CIE-LCHlch(75.75, 26.82, 319.57°)
OKLaboklab(79.88% 0.0545 -0.0469)
OKLCHoklch(79.88% 0.072 319.3)
XYZxyz(54.6927, 49.4769, 73.6729)
Luminance0.4948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFDB #B8DBAF
analogous
#BCAFDB #D2AFDB #DBAFCE
triadic
#D2AFDB #DBD2AF #AFDBD2
tetradic
#D2AFDB #DBBCAF #B8DBAF #AFCEDB
square
#D2AFDB #DBBCAF #B8DBAF #AFCEDB
split-complementary
#D2AFDB #CEDBAF #AFDBBC
monochromatic
#A35BB5 #BA85C8 #D2AFDB #EAD9EE #F3EAF6

Accessibility & contrast

On white

1.93
#D2AFDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#D2AFDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFDB
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFDB#FFFFFF#000000##000000
##D2AFDB1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAB8DD
Deuteranopia (green-blind)
#B2BCD9
Tritanopia (blue-blind)
#D3B3BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2afdb;
/* rgb */ color: rgb(210, 175, 219);
/* oklch */ color: oklch(79.9% 0.072 319.3);
Tailwind
colors: {
  custom: {
    50: '#e0c7e6',
    500: '#d2afdb',
    950: '#000000',
  },
}
SCSS
$custom: #d2afdb;
$custom-light: #e0c7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2afdb",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 219
  },
  "hsl": {
    "h": 287.727,
    "s": 37.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79881,
    "c": 0.07192,
    "h": 319.3
  },
  "luminance": 0.49476
}

Semantic roles & 50–950 ramp

primary
#D2AFDB
secondary
#E1ECDF
accent
#B1354E
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #D2AFDB

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

Preview Lab → · Contrast checker → · Palette generator →

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