#D2AFDC#D2AFDC

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

Color values

HEX#D2AFDC
RGBrgb(210, 175, 220)
HSLhsl(287, 39%, 77%)
HSVhsv(287, 20%, 86%)
CMYKcmyk(4.5%, 20.5%, 0%, 13.7%)
CIE-LABlab(75.78, 20.61, -17.89)
CIE-LCHlch(75.78, 27.29, 319.04°)
OKLaboklab(79.92% 0.0549 -0.0483)
OKLCHoklch(79.92% 0.073 318.7)
XYZxyz(54.8247, 49.5297, 74.3683)
Luminance0.4953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFDC #B9DCAF
analogous
#BCAFDC #D2AFDC #DCAFCF
triadic
#D2AFDC #DCD2AF #AFDCD2
tetradic
#D2AFDC #DCBCAF #B9DCAF #AFCFDC
square
#D2AFDC #DCBCAF #B9DCAF #AFCFDC
split-complementary
#D2AFDC #CFDCAF #AFDCBC
monochromatic
#A25AB7 #BA84C9 #D2AFDC #EADAEF #F3EAF6

Accessibility & contrast

On white

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

On black

10.91
#D2AFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFDC
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFDC#FFFFFF#000000##000000
##D2AFDC1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAB8DE
Deuteranopia (green-blind)
#B2BCDA
Tritanopia (blue-blind)
#D3B4BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2afdc;
/* rgb */ color: rgb(210, 175, 220);
/* oklch */ color: oklch(79.9% 0.073 318.7);
Tailwind
colors: {
  custom: {
    50: '#e0c7e7',
    500: '#d2afdc',
    950: '#000000',
  },
}
SCSS
$custom: #d2afdc;
$custom-light: #e0c7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2afdc",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 286.667,
    "s": 39.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79917,
    "c": 0.07307,
    "h": 318.7
  },
  "luminance": 0.49529
}

Semantic roles & 50–950 ramp

primary
#D2AFDC
secondary
#E2ECDF
accent
#B23350
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #D2AFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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