#D172CE#D172CE

#D172CE is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.0% C 0.165 H 328.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#D172CE
RGBrgb(209, 114, 206)
HSLhsl(302, 51%, 63%)
HSVhsv(302, 45%, 82%)
CMYKcmyk(0%, 45.5%, 1.4%, 18%)
CIE-LABlab(61.70, 50.28, -31.72)
CIE-LCHlch(61.70, 59.45, 327.76°)
OKLaboklab(69.04% 0.1405 -0.0867)
OKLCHoklch(69.04% 0.165 328.3)
XYZxyz(43.4517, 30.0485, 61.8918)
Luminance0.3005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D172CE #72D175
analogous
#A472D1 #D172CE #D1729E
triadic
#D172CE #CED172 #72CED1
tetradic
#D172CE #D1A472 #72D175 #729ED1
square
#D172CE #D1A472 #72D175 #729ED1
split-complementary
#D172CE #9ED172 #72D1A4
monochromatic
#973194 #C244BE #D172CE #E0A0DE #EFCEEE

Accessibility & contrast

On white

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

On black

7.01
#D172CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D172CE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D172CE#FFFFFF#000000##000000
##D172CE1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD1
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#D77B96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d172ce;
/* rgb */ color: rgb(209, 114, 206);
/* oklch */ color: oklch(69.0% 0.165 328.3);
Tailwind
colors: {
  custom: {
    50: '#e19ddd',
    500: '#d172ce',
    950: '#000000',
  },
}
SCSS
$custom: #d172ce;
$custom-light: #e19ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#d172ce",
  "rgb": {
    "r": 209,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 301.895,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69038,
    "c": 0.16509,
    "h": 328.3
  },
  "luminance": 0.30046
}

Semantic roles & 50–950 ramp

primary
#D172CE
secondary
#BEE0C0
accent
#BE2C27
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D172CE

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

Preview Lab → · Contrast checker → · Palette generator →

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