#D173CE#D173CE

#D173CE is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.2% C 0.163 H 328.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D173CE
RGBrgb(209, 115, 206)
HSLhsl(302, 51%, 64%)
HSVhsv(302, 45%, 82%)
CMYKcmyk(0%, 45%, 1.4%, 18%)
CIE-LABlab(61.89, 49.77, -31.41)
CIE-LCHlch(61.89, 58.86, 327.74°)
OKLaboklab(69.18% 0.1391 -0.0858)
OKLCHoklch(69.18% 0.163 328.3)
XYZxyz(43.5651, 30.2753, 61.9296)
Luminance0.3027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173CE #73D176
analogous
#A573D1 #D173CE #D1739F
triadic
#D173CE #CED173 #73CED1
tetradic
#D173CE #D1A573 #73D176 #739FD1
square
#D173CE #D1A573 #73D176 #739FD1
split-complementary
#D173CE #9FD173 #73D1A5
monochromatic
#983294 #C245BE #D173CE #E0A1DE #EFCFEE

Accessibility & contrast

On white

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

On black

7.05
#D173CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173CE
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173CE#FFFFFF#000000##000000
##D173CE1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED1
Deuteranopia (green-blind)
#879ACB
Tritanopia (blue-blind)
#D77C97
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d173ce;
/* rgb */ color: rgb(209, 115, 206);
/* oklch */ color: oklch(69.2% 0.163 328.3);
Tailwind
colors: {
  custom: {
    50: '#e19edd',
    500: '#d173ce',
    950: '#000000',
  },
}
SCSS
$custom: #d173ce;
$custom-light: #e19edd;
$custom-dark: #000000;
JSON
{
  "hex": "#d173ce",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 301.915,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69183,
    "c": 0.16343,
    "h": 328.3
  },
  "luminance": 0.30273
}

Semantic roles & 50–950 ramp

primary
#D173CE
secondary
#BFE1C0
accent
#BE2C28
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150F15
muted
#847E83

Preview Lab

Preview with #D173CE

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

Preview Lab → · Contrast checker → · Palette generator →

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