#D17CCE#D17CCE

#D17CCE is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.5% C 0.148 H 328.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D17CCE
RGBrgb(209, 124, 206)
HSLhsl(302, 48%, 65%)
HSVhsv(302, 41%, 82%)
CMYKcmyk(0%, 40.7%, 1.4%, 18%)
CIE-LABlab(63.70, 45.15, -28.62)
CIE-LCHlch(63.70, 53.45, 327.63°)
OKLaboklab(70.53% 0.126 -0.0779)
OKLCHoklch(70.53% 0.148 328.3)
XYZxyz(44.6420, 32.4290, 62.2885)
Luminance0.3243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CCE #7CD17F
analogous
#AA7CD1 #D17CCE #D17CA3
triadic
#D17CCE #CED17C #7CCED1
tetradic
#D17CCE #D1AA7C #7CD17F #7CA3D1
square
#D17CCE #D1AA7C #7CD17F #7CA3D1
split-complementary
#D17CCE #A3D17C #7CD1AA
monochromatic
#9C3798 #C14FBD #D17CCE #E1A9DF #F1D7F0

Accessibility & contrast

On white

2.81
#D17CCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D17CCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CCE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CCE#FFFFFF#000000##000000
##D17CCE1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D1
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#D6839B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d17cce;
/* rgb */ color: rgb(209, 124, 206);
/* oklch */ color: oklch(70.5% 0.148 328.3);
Tailwind
colors: {
  custom: {
    50: '#e1a4dd',
    500: '#d17cce',
    950: '#000000',
  },
}
SCSS
$custom: #d17cce;
$custom-light: #e1a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cce",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 302.118,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.1482,
    "h": 328.3
  },
  "luminance": 0.32427
}

Semantic roles & 50–950 ramp

primary
#D17CCE
secondary
#C6E3C7
accent
#BB2F2A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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