#D170DE#D170DE

#D170DE is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.183 H 322.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#D170DE
RGBrgb(209, 112, 222)
HSLhsl(293, 63%, 65%)
HSVhsv(293, 50%, 87%)
CMYKcmyk(5.9%, 49.5%, 0%, 12.9%)
CIE-LABlab(62.01, 54.21, -40.20)
CIE-LCHlch(62.01, 67.49, 323.44°)
OKLaboklab(69.5% 0.1459 -0.111)
OKLCHoklch(69.5% 0.183 322.7)
XYZxyz(45.2721, 30.4196, 72.5800)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170DE #7DDE70
analogous
#9A70DE #D170DE #DE70B4
triadic
#D170DE #DED170 #70DED1
tetradic
#D170DE #DE9A70 #7DDE70 #70B4DE
square
#D170DE #DE9A70 #7DDE70 #70B4DE
split-complementary
#D170DE #B4DE70 #70DE9A
monochromatic
#9C28AC #C13ED3 #D170DE #E1A2E9 #F1D3F5

Accessibility & contrast

On white

2.96
#D170DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#D170DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D170DE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170DE#FFFFFF#000000##000000
##D170DE1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#608FE2
Deuteranopia (green-blind)
#7E9ADB
Tritanopia (blue-blind)
#D47E9D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d170de;
/* rgb */ color: rgb(209, 112, 222);
/* oklch */ color: oklch(69.5% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#e19ce8',
    500: '#d170de',
    950: '#000000',
  },
}
SCSS
$custom: #d170de;
$custom-light: #e19ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#d170de",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 222
  },
  "hsl": {
    "h": 292.909,
    "s": 62.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69504,
    "c": 0.18333,
    "h": 322.7
  },
  "luminance": 0.30418
}

Semantic roles & 50–950 ramp

primary
#D170DE
secondary
#C7E7C2
accent
#CA1B30
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D170DE

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

Preview Lab → · Contrast checker → · Palette generator →

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