#D170CD#D170CD

#D170CD is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.167 H 328.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#D170CD
RGBrgb(209, 112, 205)
HSLhsl(302, 51%, 63%)
HSVhsv(302, 46%, 82%)
CMYKcmyk(0%, 46.4%, 1.9%, 18%)
CIE-LABlab(61.27, 51.11, -31.82)
CIE-LCHlch(61.27, 60.20, 328.10°)
OKLaboklab(68.71% 0.1432 -0.0869)
OKLCHoklch(68.71% 0.167 328.7)
XYZxyz(43.1075, 29.5538, 61.1796)
Luminance0.2955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170CD #70D174
analogous
#A470D1 #D170CD #D1709C
triadic
#D170CD #CDD170 #70CDD1
tetradic
#D170CD #D1A470 #70D174 #709CD1
square
#D170CD #D1A470 #70D174 #709CD1
split-complementary
#D170CD #9CD170 #70D1A4
monochromatic
#963092 #C242BD #D170CD #E09EDD #EFCDED

Accessibility & contrast

On white

3.04
#D170CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#D170CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170CD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170CD#FFFFFF#000000##000000
##D170CD1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD0
Deuteranopia (green-blind)
#8599CA
Tritanopia (blue-blind)
#D77995
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d170cd;
/* rgb */ color: rgb(209, 112, 205);
/* oklch */ color: oklch(68.7% 0.167 328.7);
Tailwind
colors: {
  custom: {
    50: '#e19cdc',
    500: '#d170cd',
    950: '#000000',
  },
}
SCSS
$custom: #d170cd;
$custom-light: #e19cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d170cd",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 302.474,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68706,
    "c": 0.16749,
    "h": 328.7
  },
  "luminance": 0.29551
}

Semantic roles & 50–950 ramp

primary
#D170CD
secondary
#BDE0BE
accent
#BF2D27
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D170CD

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

Preview Lab → · Contrast checker → · Palette generator →

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