#D173CD#D173CD

#D173CD is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.1% C 0.163 H 328.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D173CD
RGBrgb(209, 115, 205)
HSLhsl(303, 51%, 64%)
HSVhsv(303, 45%, 82%)
CMYKcmyk(0%, 45%, 1.9%, 18%)
CIE-LABlab(61.85, 49.60, -30.91)
CIE-LCHlch(61.85, 58.44, 328.06°)
OKLaboklab(69.14% 0.1389 -0.0844)
OKLCHoklch(69.14% 0.163 328.7)
XYZxyz(43.4440, 30.2269, 61.2918)
Luminance0.3023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173CD #73D177
analogous
#A673D1 #D173CD #D1739E
triadic
#D173CD #CDD173 #73CDD1
tetradic
#D173CD #D1A673 #73D177 #739ED1
square
#D173CD #D1A673 #73D177 #739ED1
split-complementary
#D173CD #9ED173 #73D1A6
monochromatic
#983293 #C245BD #D173CD #E0A1DD #EFCFEE

Accessibility & contrast

On white

2.98
#D173CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#D173CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173CD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173CD#FFFFFF#000000##000000
##D173CD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DD0
Deuteranopia (green-blind)
#879ACA
Tritanopia (blue-blind)
#D77B96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d173cd;
/* rgb */ color: rgb(209, 115, 205);
/* oklch */ color: oklch(69.1% 0.163 328.7);
Tailwind
colors: {
  custom: {
    50: '#e19edc',
    500: '#d173cd',
    950: '#000000',
  },
}
SCSS
$custom: #d173cd;
$custom-light: #e19edc;
$custom-dark: #000000;
JSON
{
  "hex": "#d173cd",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 302.553,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69139,
    "c": 0.16252,
    "h": 328.7
  },
  "luminance": 0.30225
}

Semantic roles & 50–950 ramp

primary
#D173CD
secondary
#BFE1C1
accent
#BE2E28
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150F15
muted
#847E83

Preview Lab

Preview with #D173CD

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

Preview Lab → · Contrast checker → · Palette generator →

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