#D170CF#D170CF

#D170CF is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.169 H 328.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D170CF
RGBrgb(209, 112, 207)
HSLhsl(301, 51%, 63%)
HSVhsv(301, 46%, 82%)
CMYKcmyk(0%, 46.4%, 1%, 18%)
CIE-LABlab(61.35, 51.46, -32.81)
CIE-LCHlch(61.35, 61.03, 327.48°)
OKLaboklab(68.8% 0.1435 -0.0898)
OKLCHoklch(68.8% 0.169 328)
XYZxyz(43.3505, 29.6510, 62.4592)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170CF #70D172
analogous
#A270D1 #D170CF #D1709E
triadic
#D170CF #CFD170 #70CFD1
tetradic
#D170CF #D1A270 #70D172 #709ED1
square
#D170CF #D1A270 #70D172 #709ED1
split-complementary
#D170CF #9ED170 #70D1A2
monochromatic
#963094 #C242BF #D170CF #E09EDF #EFCDEE

Accessibility & contrast

On white

3.03
#D170CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D170CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170CF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170CF#FFFFFF#000000##000000
##D170CF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#8499CC
Tritanopia (blue-blind)
#D77A96
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d170cf;
/* rgb */ color: rgb(209, 112, 207);
/* oklch */ color: oklch(68.8% 0.169 328.0);
Tailwind
colors: {
  custom: {
    50: '#e19cde',
    500: '#d170cf',
    950: '#000000',
  },
}
SCSS
$custom: #d170cf;
$custom-light: #e19cde;
$custom-dark: #000000;
JSON
{
  "hex": "#d170cf",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 301.237,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68796,
    "c": 0.1693,
    "h": 328
  },
  "luminance": 0.29649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D170CF

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

Preview Lab → · Contrast checker → · Palette generator →

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