#D173CA#D173CA

#D173CA is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.0% C 0.160 H 329.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#D173CA
RGBrgb(209, 115, 202)
HSLhsl(304, 51%, 64%)
HSVhsv(304, 45%, 82%)
CMYKcmyk(0%, 45%, 3.3%, 18%)
CIE-LABlab(61.73, 49.06, -29.41)
CIE-LCHlch(61.73, 57.20, 329.06°)
OKLaboklab(69.01% 0.1383 -0.0801)
OKLCHoklch(69.01% 0.16 329.9)
XYZxyz(43.0854, 30.0834, 59.4029)
Luminance0.3008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173CA #73D17A
analogous
#A973D1 #D173CA #D1739B
triadic
#D173CA #CAD173 #73CAD1
tetradic
#D173CA #D1A973 #73D17A #739BD1
square
#D173CA #D1A973 #73D17A #739BD1
split-complementary
#D173CA #9BD173 #73D1A9
monochromatic
#983290 #C245B9 #D173CA #E0A1DB #EFCFED

Accessibility & contrast

On white

2.99
#D173CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#D173CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173CA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173CA#FFFFFF#000000##000000
##D173CA1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#889AC7
Tritanopia (blue-blind)
#D77B95
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d173ca;
/* rgb */ color: rgb(209, 115, 202);
/* oklch */ color: oklch(69.0% 0.160 329.9);
Tailwind
colors: {
  custom: {
    50: '#e19eda',
    500: '#d173ca',
    950: '#000000',
  },
}
SCSS
$custom: #d173ca;
$custom-light: #e19eda;
$custom-dark: #000000;
JSON
{
  "hex": "#d173ca",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 304.468,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69006,
    "c": 0.15982,
    "h": 329.9
  },
  "luminance": 0.30081
}

Semantic roles & 50–950 ramp

primary
#D173CA
secondary
#BFE1C2
accent
#BE3328
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#150F15
muted
#847E83

Preview Lab

Preview with #D173CA

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

Preview Lab → · Contrast checker → · Palette generator →

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