#D17CD6#D17CD6

#D17CD6 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.156 H 325.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D17CD6
RGBrgb(209, 124, 214)
HSLhsl(297, 52%, 66%)
HSVhsv(297, 42%, 84%)
CMYKcmyk(2.3%, 42.1%, 0%, 16.1%)
CIE-LABlab(64.02, 46.61, -32.60)
CIE-LCHlch(64.02, 56.88, 325.03°)
OKLaboklab(70.88% 0.1277 -0.0893)
OKLCHoklch(70.88% 0.156 325.1)
XYZxyz(45.6387, 32.8277, 67.5377)
Luminance0.3283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CD6 #81D67C
analogous
#A47CD6 #D17CD6 #D67CAE
triadic
#D17CD6 #D6D17C #7CD6D1
tetradic
#D17CD6 #D6A47C #81D67C #7CAED6
square
#D17CD6 #D6A47C #81D67C #7CAED6
split-complementary
#D17CD6 #AED67C #7CD6A4
monochromatic
#9E33A4 #C14DC7 #D17CD6 #E1ABE5 #F2D9F3

Accessibility & contrast

On white

2.78
#D17CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D17CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CD6
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CD6#FFFFFF#000000##000000
##D17CD61.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D9
Deuteranopia (green-blind)
#8A9FD3
Tritanopia (blue-blind)
#D5869F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17cd6;
/* rgb */ color: rgb(209, 124, 214);
/* oklch */ color: oklch(70.9% 0.156 325.1);
Tailwind
colors: {
  custom: {
    50: '#e1a4e3',
    500: '#d17cd6',
    950: '#000000',
  },
}
SCSS
$custom: #d17cd6;
$custom-light: #e1a4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cd6",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 296.667,
    "s": 52.326,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70882,
    "c": 0.15583,
    "h": 325.1
  },
  "luminance": 0.32826
}

Semantic roles & 50–950 ramp

primary
#D17CD6
secondary
#CAE6C8
accent
#C0262E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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