#D173DC#D173DC

#D173DC is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.8% C 0.177 H 323.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D173DC
RGBrgb(209, 115, 220)
HSLhsl(294, 60%, 66%)
HSVhsv(294, 48%, 86%)
CMYKcmyk(5%, 47.7%, 0%, 13.7%)
CIE-LABlab(62.50, 52.34, -38.33)
CIE-LCHlch(62.50, 64.87, 323.78°)
OKLaboklab(69.83% 0.1415 -0.1056)
OKLCHoklch(69.83% 0.177 323.3)
XYZxyz(45.3422, 30.9861, 71.2888)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173DC #7EDC73
analogous
#9C73DC #D173DC #DC73B2
triadic
#D173DC #DCD173 #73DCD1
tetradic
#D173DC #DC9C73 #7EDC73 #73B2DC
square
#D173DC #DC9C73 #7EDC73 #73B2DC
split-complementary
#D173DC #B2DC73 #73DC9C
monochromatic
#9D2BAA #C142D0 #D173DC #E1A4E8 #F1D5F4

Accessibility & contrast

On white

2.92
#D173DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D173DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173DC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173DC#FFFFFF#000000##000000
##D173DC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E0
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#D4809D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d173dc;
/* rgb */ color: rgb(209, 115, 220);
/* oklch */ color: oklch(69.8% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#e19ee7',
    500: '#d173dc',
    950: '#000000',
  },
}
SCSS
$custom: #d173dc;
$custom-light: #e19ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#d173dc",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 293.714,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69831,
    "c": 0.17658,
    "h": 323.3
  },
  "luminance": 0.30984
}

Semantic roles & 50–950 ramp

primary
#D173DC
secondary
#C8E7C4
accent
#C81E30
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D173DC

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

Preview Lab → · Contrast checker → · Palette generator →

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