#D17CD3#D17CD3

#D17CD3 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.153 H 326.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D17CD3
RGBrgb(209, 124, 211)
HSLhsl(299, 50%, 66%)
HSVhsv(299, 41%, 83%)
CMYKcmyk(0.9%, 41.2%, 0%, 17.3%)
CIE-LABlab(63.90, 46.06, -31.11)
CIE-LCHlch(63.90, 55.58, 325.96°)
OKLaboklab(70.75% 0.1271 -0.085)
OKLCHoklch(70.75% 0.153 326.2)
XYZxyz(45.2591, 32.6758, 65.5385)
Luminance0.3267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CD3 #7ED37C
analogous
#A57CD3 #D17CD3 #D37CA9
triadic
#D17CD3 #D3D17C #7CD3D1
tetradic
#D17CD3 #D3A57C #7ED37C #7CA9D3
square
#D17CD3 #D3A57C #7ED37C #7CA9D3
split-complementary
#D17CD3 #A9D37C #7CD3A5
monochromatic
#9D359F #C14EC4 #D17CD3 #E1AAE2 #F1D8F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D17CD3#FFFFFF#000000##000000
##D17CD31.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)
#7494D6
Deuteranopia (green-blind)
#8B9FD0
Tritanopia (blue-blind)
#D5859E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17cd3;
/* rgb */ color: rgb(209, 124, 211);
/* oklch */ color: oklch(70.7% 0.153 326.2);
Tailwind
colors: {
  custom: {
    50: '#e1a4e0',
    500: '#d17cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d17cd3;
$custom-light: #e1a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cd3",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 298.621,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70749,
    "c": 0.15293,
    "h": 326.2
  },
  "luminance": 0.32674
}

Semantic roles & 50–950 ramp

primary
#D17CD3
secondary
#C8E4C7
accent
#BD282C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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