#D161D0#D161D0

#D161D0 is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.8% C 0.194 H 327.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D161D0
RGBrgb(209, 97, 208)
HSLhsl(301, 55%, 60%)
HSVhsv(301, 54%, 82%)
CMYKcmyk(0%, 53.6%, 0.5%, 18%)
CIE-LABlab(58.66, 58.89, -37.58)
CIE-LCHlch(58.66, 69.86, 327.46°)
OKLaboklab(66.82% 0.1642 -0.1033)
OKLCHoklch(66.82% 0.194 327.8)
XYZxyz(41.9537, 26.6613, 62.5986)
Luminance0.2666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161D0 #61D162
analogous
#9A61D1 #D161D0 #D16198
triadic
#D161D0 #D0D161 #61D0D1
tetradic
#D161D0 #D19A61 #61D162 #6198D1
square
#D161D0 #D19A61 #61D162 #6198D1
split-complementary
#D161D0 #98D161 #61D19A
monochromatic
#8E298D #BE37BC #D161D0 #DF90DE #EDC0EC

Accessibility & contrast

On white

3.32
#D161D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D161D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161D0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161D0#FFFFFF#000000##000000
##D161D01.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D4
Deuteranopia (green-blind)
#7A92CD
Tritanopia (blue-blind)
#D76D90
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d161d0;
/* rgb */ color: rgb(209, 97, 208);
/* oklch */ color: oklch(66.8% 0.194 327.8);
Tailwind
colors: {
  custom: {
    50: '#e293df',
    500: '#d161d0',
    950: '#000000',
  },
}
SCSS
$custom: #d161d0;
$custom-light: #e293df;
$custom-dark: #000000;
JSON
{
  "hex": "#d161d0",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 208
  },
  "hsl": {
    "h": 300.536,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.66821,
    "c": 0.19395,
    "h": 327.8
  },
  "luminance": 0.26659
}

Semantic roles & 50–950 ramp

primary
#D161D0
secondary
#B1DCB2
accent
#DE4B4A
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D161D0

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

Preview Lab → · Contrast checker → · Palette generator →

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