#D17CD2#D17CD2

#D17CD2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.7% C 0.152 H 326.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D17CD2
RGBrgb(209, 124, 210)
HSLhsl(299, 49%, 65%)
HSVhsv(299, 41%, 82%)
CMYKcmyk(0.5%, 41%, 0%, 17.6%)
CIE-LABlab(63.86, 45.87, -30.61)
CIE-LCHlch(63.86, 55.15, 326.28°)
OKLaboklab(70.71% 0.1269 -0.0836)
OKLCHoklch(70.71% 0.152 326.6)
XYZxyz(45.1341, 32.6258, 64.8803)
Luminance0.3262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CD2 #7DD27C
analogous
#A67CD2 #D17CD2 #D27CA8
triadic
#D17CD2 #D2D17C #7CD2D1
tetradic
#D17CD2 #D2A67C #7DD27C #7CA8D2
square
#D17CD2 #D2A67C #7DD27C #7CA8D2
split-complementary
#D17CD2 #A8D27C #7CD2A6
monochromatic
#9C369D #C14EC2 #D17CD2 #E1AAE2 #F1D7F1

Accessibility & contrast

On white

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

On black

7.52
#D17CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CD2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CD2#FFFFFF#000000##000000
##D17CD21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#8C9FCF
Tritanopia (blue-blind)
#D6859D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17cd2;
/* rgb */ color: rgb(209, 124, 210);
/* oklch */ color: oklch(70.7% 0.152 326.6);
Tailwind
colors: {
  custom: {
    50: '#e1a4e0',
    500: '#d17cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d17cd2;
$custom-light: #e1a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cd2",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 299.302,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70705,
    "c": 0.15198,
    "h": 326.6
  },
  "luminance": 0.32624
}

Semantic roles & 50–950 ramp

primary
#D17CD2
secondary
#C7E3C6
accent
#BC292B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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