#D170CC#D170CC

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

Color values

HEX#D170CC
RGBrgb(209, 112, 204)
HSLhsl(303, 51%, 63%)
HSVhsv(303, 46%, 82%)
CMYKcmyk(0%, 46.4%, 2.4%, 18%)
CIE-LABlab(61.23, 50.93, -31.32)
CIE-LCHlch(61.23, 59.79, 328.41°)
OKLaboklab(68.66% 0.143 -0.0855)
OKLCHoklch(68.66% 0.167 329.1)
XYZxyz(42.9872, 29.5056, 60.5459)
Luminance0.2950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170CC #70D175
analogous
#A570D1 #D170CC #D1709B
triadic
#D170CC #CCD170 #70CCD1
tetradic
#D170CC #D1A570 #70D175 #709BD1
square
#D170CC #D1A570 #70D175 #709BD1
split-complementary
#D170CC #9BD170 #70D1A5
monochromatic
#963091 #C242BB #D170CC #E09EDD #EFCDED

Accessibility & contrast

On white

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

On black

6.90
#D170CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170CC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170CC#FFFFFF#000000##000000
##D170CC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CCF
Deuteranopia (green-blind)
#8598C9
Tritanopia (blue-blind)
#D77995
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d170cc;
/* rgb */ color: rgb(209, 112, 204);
/* oklch */ color: oklch(68.7% 0.167 329.1);
Tailwind
colors: {
  custom: {
    50: '#e19cdc',
    500: '#d170cc',
    950: '#000000',
  },
}
SCSS
$custom: #d170cc;
$custom-light: #e19cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d170cc",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 303.093,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68661,
    "c": 0.1666,
    "h": 329.1
  },
  "luminance": 0.29503
}

Semantic roles & 50–950 ramp

primary
#D170CC
secondary
#BDE0BF
accent
#BF2F27
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D170CC

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

Preview Lab → · Contrast checker → · Palette generator →

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