#D17CDA#D17CDA

#D17CDA is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.1% C 0.160 H 323.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D17CDA
RGBrgb(209, 124, 218)
HSLhsl(294, 56%, 67%)
HSVhsv(294, 43%, 85%)
CMYKcmyk(4.1%, 43.1%, 0%, 14.5%)
CIE-LABlab(64.19, 47.36, -34.57)
CIE-LCHlch(64.19, 58.64, 323.87°)
OKLaboklab(71.06% 0.1285 -0.0949)
OKLCHoklch(71.06% 0.16 323.6)
XYZxyz(46.1558, 33.0345, 70.2611)
Luminance0.3303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CDA #85DA7C
analogous
#A27CDA #D17CDA #DA7CB4
triadic
#D17CDA #DAD17C #7CDAD1
tetradic
#D17CDA #DAA27C #85DA7C #7CB4DA
square
#D17CDA #DAA27C #85DA7C #7CB4DA
split-complementary
#D17CDA #B4DA7C #7CDAA2
monochromatic
#9F30AB #C04CCD #D17CDA #E2ACE7 #F3DBF5

Accessibility & contrast

On white

2.76
#D17CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D17CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CDA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CDA#FFFFFF#000000##000000
##D17CDA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DD
Deuteranopia (green-blind)
#889FD7
Tritanopia (blue-blind)
#D487A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d17cda;
/* rgb */ color: rgb(209, 124, 218);
/* oklch */ color: oklch(71.1% 0.160 323.6);
Tailwind
colors: {
  custom: {
    50: '#e1a4e5',
    500: '#d17cda',
    950: '#000000',
  },
}
SCSS
$custom: #d17cda;
$custom-light: #e1a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cda",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 294.255,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71062,
    "c": 0.15975,
    "h": 323.6
  },
  "luminance": 0.33033
}

Semantic roles & 50–950 ramp

primary
#D17CDA
secondary
#CDE8CA
accent
#C32231
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D17CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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