#D17DCC#D17DCC

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

Color values

HEX#D17DCC
RGBrgb(209, 125, 204)
HSLhsl(304, 48%, 65%)
HSVhsv(304, 40%, 82%)
CMYKcmyk(0%, 40.2%, 2.4%, 18%)
CIE-LABlab(63.82, 44.26, -27.30)
CIE-LCHlch(63.82, 52.01, 328.33°)
OKLaboklab(70.6% 0.1241 -0.0742)
OKLCHoklch(70.6% 0.145 329.1)
XYZxyz(44.5265, 32.5843, 61.0591)
Luminance0.3258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DCC #7DD182
analogous
#AC7DD1 #D17DCC #D17DA2
triadic
#D17DCC #CCD17D #7DCCD1
tetradic
#D17DCC #D1AC7D #7DD182 #7DA2D1
square
#D17DCC #D1AC7D #7DD182 #7DA2D1
split-complementary
#D17DCC #A2D17D #7DD1AC
monochromatic
#9C3796 #C150BA #D17DCC #E1AADE #F1D7EF

Accessibility & contrast

On white

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

On black

7.52
#D17DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DCC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DCC#FFFFFF#000000##000000
##D17DCC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894CF
Deuteranopia (green-blind)
#8F9FC9
Tritanopia (blue-blind)
#D7849B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17dcc;
/* rgb */ color: rgb(209, 125, 204);
/* oklch */ color: oklch(70.6% 0.145 329.1);
Tailwind
colors: {
  custom: {
    50: '#e0a4db',
    500: '#d17dcc',
    950: '#000000',
  },
}
SCSS
$custom: #d17dcc;
$custom-light: #e0a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#d17dcc",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 303.571,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70601,
    "c": 0.14462,
    "h": 329.1
  },
  "luminance": 0.32582
}

Semantic roles & 50–950 ramp

primary
#D17DCC
secondary
#C7E3C9
accent
#BB332B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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