#D173C8#D173C8

#D173C8 is a light, vivid purple. Relative luminance 0.300; OKLCH L 68.9% C 0.158 H 330.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#D173C8
RGBrgb(209, 115, 200)
HSLhsl(306, 51%, 64%)
HSVhsv(306, 45%, 82%)
CMYKcmyk(0%, 45%, 4.3%, 18%)
CIE-LABlab(61.65, 48.71, -28.41)
CIE-LCHlch(61.65, 56.39, 329.75°)
OKLaboklab(68.92% 0.1379 -0.0773)
OKLCHoklch(68.92% 0.158 330.7)
XYZxyz(42.8501, 29.9893, 58.1639)
Luminance0.2999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173C8 #73D17C
analogous
#AB73D1 #D173C8 #D17399
triadic
#D173C8 #C8D173 #73C8D1
tetradic
#D173C8 #D1AB73 #73D17C #7399D1
square
#D173C8 #D1AB73 #73D17C #7399D1
split-complementary
#D173C8 #99D173 #73D1AB
monochromatic
#98328E #C245B6 #D173C8 #E0A1DA #EFCFEC

Accessibility & contrast

On white

3.00
#D173C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#D173C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173C8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173C8#FFFFFF#000000##000000
##D173C81.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCB
Deuteranopia (green-blind)
#899AC5
Tritanopia (blue-blind)
#D87A94
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d173c8;
/* rgb */ color: rgb(209, 115, 200);
/* oklch */ color: oklch(68.9% 0.158 330.7);
Tailwind
colors: {
  custom: {
    50: '#e19ed9',
    500: '#d173c8',
    950: '#000000',
  },
}
SCSS
$custom: #d173c8;
$custom-light: #e19ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#d173c8",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 305.745,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68919,
    "c": 0.15805,
    "h": 330.7
  },
  "luminance": 0.29987
}

Semantic roles & 50–950 ramp

primary
#D173C8
secondary
#BFE1C2
accent
#BE3628
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#150F14
muted
#847E83

Preview Lab

Preview with #D173C8

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

Preview Lab → · Contrast checker → · Palette generator →

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