#D17DED#D17DED

#D17DED is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.1% C 0.177 H 317.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D17DED
RGBrgb(209, 125, 237)
HSLhsl(285, 76%, 71%)
HSVhsv(285, 47%, 93%)
CMYKcmyk(11.8%, 47.3%, 0%, 7.1%)
CIE-LABlab(65.23, 50.55, -43.49)
CIE-LCHlch(65.23, 66.68, 319.29°)
OKLaboklab(72.11% 0.1302 -0.1205)
OKLCHoklch(72.11% 0.177 317.2)
XYZxyz(48.9120, 34.3385, 84.1558)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DED #99ED7D
analogous
#997DED #D17DED #ED7DD1
triadic
#D17DED #EDD17D #7DEDD1
tetradic
#D17DED #ED997D #99ED7D #7DD1ED
square
#D17DED #ED997D #99ED7D #7DD1ED
split-complementary
#D17DED #D1ED7D #7DED99
monochromatic
#A51DD2 #BE47E6 #D17DED #E4B3F4 #F5E4FB

Accessibility & contrast

On white

2.67
#D17DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D17DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DED
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DED#FFFFFF#000000##000000
##D17DED1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#D08DAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d17ded;
/* rgb */ color: rgb(209, 125, 237);
/* oklch */ color: oklch(72.1% 0.177 317.2);
Tailwind
colors: {
  custom: {
    50: '#e1a5f3',
    500: '#d17ded',
    950: '#000000',
  },
}
SCSS
$custom: #d17ded;
$custom-light: #e1a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ded",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 285,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72114,
    "c": 0.17746,
    "h": 317.2
  },
  "luminance": 0.34337
}

Semantic roles & 50–950 ramp

primary
#D17DED
secondary
#DBF2D4
accent
#D80E40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17DED

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

Preview Lab → · Contrast checker → · Palette generator →

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