#D17FCD#D17FCD

#D17FCD is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.142 H 328.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D17FCD
RGBrgb(209, 127, 205)
HSLhsl(303, 47%, 66%)
HSVhsv(303, 39%, 82%)
CMYKcmyk(0%, 39.2%, 1.9%, 18%)
CIE-LABlab(64.28, 43.39, -27.16)
CIE-LCHlch(64.28, 51.19, 327.95°)
OKLaboklab(70.96% 0.1214 -0.0738)
OKLCHoklch(70.96% 0.142 328.7)
XYZxyz(44.9026, 33.1439, 61.7780)
Luminance0.3314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FCD #7FD183
analogous
#AC7FD1 #D17FCD #D17FA4
triadic
#D17FCD #CDD17F #7FCDD1
tetradic
#D17FCD #D1AC7F #7FD183 #7FA4D1
square
#D17FCD #D1AC7F #7FD183 #7FA4D1
split-complementary
#D17FCD #A4D17F #7FD1AC
monochromatic
#9D3898 #C152BB #D17FCD #E1ACDF #F1D9F0

Accessibility & contrast

On white

2.75
#D17FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D17FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FCD
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FCD#FFFFFF#000000##000000
##D17FCD1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#90A0CA
Tritanopia (blue-blind)
#D6869D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d17fcd;
/* rgb */ color: rgb(209, 127, 205);
/* oklch */ color: oklch(71.0% 0.142 328.7);
Tailwind
colors: {
  custom: {
    50: '#e0a6dc',
    500: '#d17fcd',
    950: '#000000',
  },
}
SCSS
$custom: #d17fcd;
$custom-light: #e0a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fcd",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 302.927,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70955,
    "c": 0.14209,
    "h": 328.7
  },
  "luminance": 0.33142
}

Semantic roles & 50–950 ramp

primary
#D17FCD
secondary
#C8E3CA
accent
#BA322B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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