#D173DF#D173DF

#D173DF is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.179 H 322.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D173DF
RGBrgb(209, 115, 223)
HSLhsl(292, 63%, 66%)
HSVhsv(292, 48%, 87%)
CMYKcmyk(6.3%, 48.4%, 0%, 12.5%)
CIE-LABlab(62.63, 52.90, -39.79)
CIE-LCHlch(62.63, 66.20, 323.05°)
OKLaboklab(69.97% 0.142 -0.1098)
OKLCHoklch(69.97% 0.179 322.3)
XYZxyz(45.7431, 31.1465, 73.4001)
Luminance0.3114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173DF #81DF73
analogous
#9B73DF #D173DF #DF73B7
triadic
#D173DF #DFD173 #73DFD1
tetradic
#D173DF #DF9B73 #81DF73 #73B7DF
square
#D173DF #DF9B73 #81DF73 #73B7DF
split-complementary
#D173DF #B7DF73 #73DF9B
monochromatic
#9E28AF #C141D4 #D173DF #E1A5EA #F2D7F6

Accessibility & contrast

On white

2.91
#D173DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D173DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173DF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173DF#FFFFFF#000000##000000
##D173DF1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6491E3
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#D4819F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d173df;
/* rgb */ color: rgb(209, 115, 223);
/* oklch */ color: oklch(70.0% 0.179 322.3);
Tailwind
colors: {
  custom: {
    50: '#e19ee9',
    500: '#d173df',
    950: '#000000',
  },
}
SCSS
$custom: #d173df;
$custom-light: #e19ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#d173df",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 292.222,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69975,
    "c": 0.17949,
    "h": 322.3
  },
  "luminance": 0.31144
}

Semantic roles & 50–950 ramp

primary
#D173DF
secondary
#CAE9C5
accent
#CB1B32
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D173DF

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

Preview Lab → · Contrast checker → · Palette generator →

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