#D17DCB#D17DCB

#D17DCB is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.6% C 0.144 H 329.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D17DCB
RGBrgb(209, 125, 203)
HSLhsl(304, 48%, 65%)
HSVhsv(304, 40%, 82%)
CMYKcmyk(0%, 40.2%, 2.9%, 18%)
CIE-LABlab(63.78, 44.08, -26.80)
CIE-LCHlch(63.78, 51.59, 328.70°)
OKLaboklab(70.56% 0.1239 -0.0728)
OKLCHoklch(70.56% 0.144 329.6)
XYZxyz(44.4070, 32.5365, 60.4294)
Luminance0.3253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DCB #7DD183
analogous
#AD7DD1 #D17DCB #D17DA1
triadic
#D17DCB #CBD17D #7DCBD1
tetradic
#D17DCB #D1AD7D #7DD183 #7DA1D1
square
#D17DCB #D1AD7D #7DD183 #7DA1D1
split-complementary
#D17DCB #A1D17D #7DD1AD
monochromatic
#9C3795 #C150B9 #D17DCB #E1AADD #F1D7EF

Accessibility & contrast

On white

2.80
#D17DCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D17DCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DCB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DCB#FFFFFF#000000##000000
##D17DCB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#8F9FC8
Tritanopia (blue-blind)
#D7849B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d17dcb;
/* rgb */ color: rgb(209, 125, 203);
/* oklch */ color: oklch(70.6% 0.144 329.6);
Tailwind
colors: {
  custom: {
    50: '#e0a4db',
    500: '#d17dcb',
    950: '#000000',
  },
}
SCSS
$custom: #d17dcb;
$custom-light: #e0a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#d17dcb",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 304.286,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70559,
    "c": 0.14369,
    "h": 329.6
  },
  "luminance": 0.32534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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