#D173CC#D173CC

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

Color values

HEX#D173CC
RGBrgb(209, 115, 204)
HSLhsl(303, 51%, 64%)
HSVhsv(303, 45%, 82%)
CMYKcmyk(0%, 45%, 2.4%, 18%)
CIE-LABlab(61.81, 49.42, -30.41)
CIE-LCHlch(61.81, 58.03, 328.39°)
OKLaboklab(69.09% 0.1387 -0.083)
OKLCHoklch(69.09% 0.162 329.1)
XYZxyz(43.3237, 30.1787, 60.6581)
Luminance0.3018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173CC #73D178
analogous
#A773D1 #D173CC #D1739D
triadic
#D173CC #CCD173 #73CCD1
tetradic
#D173CC #D1A773 #73D178 #739DD1
square
#D173CC #D1A773 #73D178 #739DD1
split-complementary
#D173CC #9DD173 #73D1A7
monochromatic
#983292 #C245BB #D173CC #E0A1DD #EFCFEE

Accessibility & contrast

On white

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

On black

7.04
#D173CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173CC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173CC#FFFFFF#000000##000000
##D173CC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d173cc;
/* rgb */ color: rgb(209, 115, 204);
/* oklch */ color: oklch(69.1% 0.162 329.1);
Tailwind
colors: {
  custom: {
    50: '#e19edb',
    500: '#d173cc',
    950: '#000000',
  },
}
SCSS
$custom: #d173cc;
$custom-light: #e19edb;
$custom-dark: #000000;
JSON
{
  "hex": "#d173cc",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 303.191,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69094,
    "c": 0.16162,
    "h": 329.1
  },
  "luminance": 0.30176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D173CC

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

Preview Lab → · Contrast checker → · Palette generator →

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