#D161D4#D161D4

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

Color values

HEX#D161D4
RGBrgb(209, 97, 212)
HSLhsl(298, 57%, 61%)
HSVhsv(298, 54%, 83%)
CMYKcmyk(1.4%, 54.2%, 0%, 16.9%)
CIE-LABlab(58.85, 59.59, -39.55)
CIE-LCHlch(58.85, 71.52, 326.43°)
OKLaboklab(67.02% 0.1646 -0.109)
OKLCHoklch(67.02% 0.197 326.5)
XYZxyz(42.4521, 26.8606, 65.2232)
Luminance0.2686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161D4 #64D461
analogous
#9761D4 #D161D4 #D4619D
triadic
#D161D4 #D4D161 #61D4D1
tetradic
#D161D4 #D49761 #64D461 #619DD4
square
#D161D4 #D49761 #64D461 #619DD4
split-complementary
#D161D4 #9DD461 #61D497
monochromatic
#902893 #BF35C3 #D161D4 #DF91E1 #EDC1EE

Accessibility & contrast

On white

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

On black

6.37
#D161D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161D4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161D4#FFFFFF#000000##000000
##D161D41.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D8
Deuteranopia (green-blind)
#7893D1
Tritanopia (blue-blind)
#D66F92
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d161d4;
/* rgb */ color: rgb(209, 97, 212);
/* oklch */ color: oklch(67.0% 0.197 326.5);
Tailwind
colors: {
  custom: {
    50: '#e293e1',
    500: '#d161d4',
    950: '#000000',
  },
}
SCSS
$custom: #d161d4;
$custom-light: #e293e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d161d4",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 212
  },
  "hsl": {
    "h": 298.435,
    "s": 57.214,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.19743,
    "h": 326.5
  },
  "luminance": 0.26858
}

Semantic roles & 50–950 ramp

primary
#D161D4
secondary
#B4DEB3
accent
#C52125
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D161D4

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

Preview Lab → · Contrast checker → · Palette generator →

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