#D161CD#D161CD

#D161CD is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.7% C 0.191 H 328.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#D161CD
RGBrgb(209, 97, 205)
HSLhsl(302, 55%, 60%)
HSVhsv(302, 54%, 82%)
CMYKcmyk(0%, 53.6%, 1.9%, 18%)
CIE-LABlab(58.52, 58.37, -36.09)
CIE-LCHlch(58.52, 68.63, 328.27°)
OKLaboklab(66.68% 0.1638 -0.099)
OKLCHoklch(66.68% 0.191 328.8)
XYZxyz(41.5881, 26.5150, 60.6732)
Luminance0.2651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161CD #61D165
analogous
#9D61D1 #D161CD #D16195
triadic
#D161CD #CDD161 #61CDD1
tetradic
#D161CD #D19D61 #61D165 #6195D1
square
#D161CD #D19D61 #61D165 #6195D1
split-complementary
#D161CD #95D161 #61D19D
monochromatic
#8E298B #BE37B9 #D161CD #DF90DC #EDC0EB

Accessibility & contrast

On white

3.33
#D161CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#D161CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161CD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161CD#FFFFFF#000000##000000
##D161CD1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#D76C8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d161cd;
/* rgb */ color: rgb(209, 97, 205);
/* oklch */ color: oklch(66.7% 0.191 328.8);
Tailwind
colors: {
  custom: {
    50: '#e293dc',
    500: '#d161cd',
    950: '#000000',
  },
}
SCSS
$custom: #d161cd;
$custom-light: #e293dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d161cd",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 302.143,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.66676,
    "c": 0.19137,
    "h": 328.8
  },
  "luminance": 0.26512
}

Semantic roles & 50–950 ramp

primary
#D161CD
secondary
#B1DCB3
accent
#DE4F4A
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D161CD

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

Preview Lab → · Contrast checker → · Palette generator →

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