#D17DCD#D17DCD

#D17DCD is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.146 H 328.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D17DCD
RGBrgb(209, 125, 205)
HSLhsl(303, 48%, 65%)
HSVhsv(303, 40%, 82%)
CMYKcmyk(0%, 40.2%, 1.9%, 18%)
CIE-LABlab(63.86, 44.44, -27.80)
CIE-LCHlch(63.86, 52.42, 327.97°)
OKLaboklab(70.64% 0.1244 -0.0756)
OKLCHoklch(70.64% 0.146 328.7)
XYZxyz(44.6468, 32.6325, 61.6927)
Luminance0.3263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DCD #7DD181
analogous
#AB7DD1 #D17DCD #D17DA3
triadic
#D17DCD #CDD17D #7DCDD1
tetradic
#D17DCD #D1AB7D #7DD181 #7DA3D1
square
#D17DCD #D1AB7D #7DD181 #7DA3D1
split-complementary
#D17DCD #A3D17D #7DD1AB
monochromatic
#9C3797 #C150BC #D17DCD #E1AADE #F1D7F0

Accessibility & contrast

On white

2.79
#D17DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#D17DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DCD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DCD#FFFFFF#000000##000000
##D17DCD1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#8E9FCA
Tritanopia (blue-blind)
#D6849C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17dcd;
/* rgb */ color: rgb(209, 125, 205);
/* oklch */ color: oklch(70.6% 0.146 328.7);
Tailwind
colors: {
  custom: {
    50: '#e0a4dc',
    500: '#d17dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d17dcd;
$custom-light: #e0a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17dcd",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 302.857,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70643,
    "c": 0.14555,
    "h": 328.7
  },
  "luminance": 0.3263
}

Semantic roles & 50–950 ramp

primary
#D17DCD
secondary
#C7E3C8
accent
#BB312B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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