#D17CDF#D17CDF

#D17CDF is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.165 H 321.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D17CDF
RGBrgb(209, 124, 223)
HSLhsl(292, 61%, 68%)
HSVhsv(292, 44%, 87%)
CMYKcmyk(6.3%, 44.4%, 0%, 12.5%)
CIE-LABlab(64.40, 48.32, -37.02)
CIE-LCHlch(64.40, 60.87, 322.54°)
OKLaboklab(71.29% 0.1294 -0.1019)
OKLCHoklch(71.29% 0.165 321.8)
XYZxyz(46.8199, 33.3002, 73.7590)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CDF #8ADF7C
analogous
#9F7CDF #D17CDF #DF7CBB
triadic
#D17CDF #DFD17C #7CDFD1
tetradic
#D17CDF #DF9F7C #8ADF7C #7CBBDF
square
#D17CDF #DF9F7C #8ADF7C #7CBBDF
split-complementary
#D17CDF #BBDF7C #7CDF9F
monochromatic
#A12CB5 #C04BD3 #D17CDF #E2ADEB #F4DEF7

Accessibility & contrast

On white

2.74
#D17CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D17CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CDF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CDF#FFFFFF#000000##000000
##D17CDF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#86A0DC
Tritanopia (blue-blind)
#D388A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d17cdf;
/* rgb */ color: rgb(209, 124, 223);
/* oklch */ color: oklch(71.3% 0.165 321.8);
Tailwind
colors: {
  custom: {
    50: '#e1a4e9',
    500: '#d17cdf',
    950: '#000000',
  },
}
SCSS
$custom: #d17cdf;
$custom-light: #e1a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cdf",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 291.515,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71293,
    "c": 0.16473,
    "h": 321.8
  },
  "luminance": 0.33298
}

Semantic roles & 50–950 ramp

primary
#D17CDF
secondary
#D1EBCC
accent
#C81D35
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D17CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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