#D17CD7#D17CD7

#D17CD7 is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.9% C 0.157 H 324.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D17CD7
RGBrgb(209, 124, 215)
HSLhsl(296, 53%, 66%)
HSVhsv(296, 42%, 84%)
CMYKcmyk(2.8%, 42.3%, 0%, 15.7%)
CIE-LABlab(64.06, 46.80, -33.09)
CIE-LCHlch(64.06, 57.32, 324.74°)
OKLaboklab(70.93% 0.1279 -0.0907)
OKLCHoklch(70.93% 0.157 324.7)
XYZxyz(45.7668, 32.8789, 68.2123)
Luminance0.3288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CD7 #82D77C
analogous
#A47CD7 #D17CD7 #D77CB0
triadic
#D17CD7 #D7D17C #7CD7D1
tetradic
#D17CD7 #D7A47C #82D77C #7CB0D7
square
#D17CD7 #D7A47C #82D77C #7CB0D7
split-complementary
#D17CD7 #B0D77C #7CD7A4
monochromatic
#9E33A6 #C14DC9 #D17CD7 #E1ABE5 #F2DAF4

Accessibility & contrast

On white

2.77
#D17CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D17CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CD7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CD7#FFFFFF#000000##000000
##D17CD71.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7395DA
Deuteranopia (green-blind)
#8A9FD4
Tritanopia (blue-blind)
#D5869F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17cd7;
/* rgb */ color: rgb(209, 124, 215);
/* oklch */ color: oklch(70.9% 0.157 324.7);
Tailwind
colors: {
  custom: {
    50: '#e1a4e3',
    500: '#d17cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d17cd7;
$custom-light: #e1a4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cd7",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 296.044,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.1568,
    "h": 324.7
  },
  "luminance": 0.32877
}

Semantic roles & 50–950 ramp

primary
#D17CD7
secondary
#CBE6C9
accent
#C1252F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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