#D161D3#D161D3

#D161D3 is a light, vivid purple. Relative luminance 0.268; OKLCH L 67.0% C 0.197 H 326.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D161D3
RGBrgb(209, 97, 211)
HSLhsl(299, 56%, 60%)
HSVhsv(299, 54%, 83%)
CMYKcmyk(0.9%, 54%, 0%, 17.3%)
CIE-LABlab(58.80, 59.42, -39.06)
CIE-LCHlch(58.80, 71.10, 326.68°)
OKLaboklab(66.97% 0.1645 -0.1076)
OKLCHoklch(66.97% 0.197 326.8)
XYZxyz(42.3263, 26.8103, 64.5609)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161D3 #63D361
analogous
#9861D3 #D161D3 #D3619C
triadic
#D161D3 #D3D161 #61D3D1
tetradic
#D161D3 #D39861 #63D361 #619CD3
square
#D161D3 #D39861 #63D361 #619CD3
split-complementary
#D161D3 #9CD361 #61D398
monochromatic
#8F2891 #BF36C1 #D161D3 #DF91E0 #EDC1EE

Accessibility & contrast

On white

3.30
#D161D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D161D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161D3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161D3#FFFFFF#000000##000000
##D161D31.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D7
Deuteranopia (green-blind)
#7893D0
Tritanopia (blue-blind)
#D66E91
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d161d3;
/* rgb */ color: rgb(209, 97, 211);
/* oklch */ color: oklch(67.0% 0.197 326.8);
Tailwind
colors: {
  custom: {
    50: '#e293e1',
    500: '#d161d3',
    950: '#000000',
  },
}
SCSS
$custom: #d161d3;
$custom-light: #e293e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d161d3",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 211
  },
  "hsl": {
    "h": 298.947,
    "s": 56.436,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66969,
    "c": 0.19657,
    "h": 326.8
  },
  "luminance": 0.26808
}

Semantic roles & 50–950 ramp

primary
#D161D3
secondary
#B3DEB2
accent
#C42224
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D161D3

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

Preview Lab → · Contrast checker → · Palette generator →

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