#D170DB#D170DB

#D170DB is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.180 H 323.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D170DB
RGBrgb(209, 112, 219)
HSLhsl(294, 60%, 65%)
HSVhsv(294, 49%, 86%)
CMYKcmyk(4.6%, 48.9%, 0%, 14.1%)
CIE-LABlab(61.88, 53.65, -38.74)
CIE-LCHlch(61.88, 66.17, 324.17°)
OKLaboklab(69.36% 0.1455 -0.1067)
OKLCHoklch(69.36% 0.18 323.7)
XYZxyz(44.8736, 30.2602, 70.4812)
Luminance0.3026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170DB #7ADB70
analogous
#9C70DB #D170DB #DB70AF
triadic
#D170DB #DBD170 #70DBD1
tetradic
#D170DB #DB9C70 #7ADB70 #70AFDB
square
#D170DB #DB9C70 #7ADB70 #70AFDB
split-complementary
#D170DB #AFDB70 #70DB9C
monochromatic
#9B2AA7 #C13FCF #D170DB #E1A1E7 #F0D2F4

Accessibility & contrast

On white

2.98
#D170DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#D170DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D170DB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170DB#FFFFFF#000000##000000
##D170DB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#7F9AD8
Tritanopia (blue-blind)
#D47D9C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d170db;
/* rgb */ color: rgb(209, 112, 219);
/* oklch */ color: oklch(69.4% 0.180 323.7);
Tailwind
colors: {
  custom: {
    50: '#e19ce6',
    500: '#d170db',
    950: '#000000',
  },
}
SCSS
$custom: #d170db;
$custom-light: #e19ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#d170db",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 294.393,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69359,
    "c": 0.18046,
    "h": 323.7
  },
  "luminance": 0.30258
}

Semantic roles & 50–950 ramp

primary
#D170DB
secondary
#C5E6C1
accent
#C71E2E
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D170DB

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

Preview Lab → · Contrast checker → · Palette generator →

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