#D161D5#D161D5

#D161D5 is a light, vivid purple. Relative luminance 0.269; OKLCH L 67.1% C 0.198 H 326.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#D161D5
RGBrgb(209, 97, 213)
HSLhsl(298, 58%, 61%)
HSVhsv(298, 54%, 84%)
CMYKcmyk(1.9%, 54.5%, 0%, 16.5%)
CIE-LABlab(58.89, 59.77, -40.04)
CIE-LCHlch(58.89, 71.94, 326.18°)
OKLaboklab(67.07% 0.1648 -0.1104)
OKLCHoklch(67.07% 0.198 326.2)
XYZxyz(42.5786, 26.9112, 65.8896)
Luminance0.2691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161D5 #65D561
analogous
#9761D5 #D161D5 #D5619F
triadic
#D161D5 #D5D161 #61D5D1
tetradic
#D161D5 #D59761 #65D561 #619FD5
square
#D161D5 #D59761 #65D561 #619FD5
split-complementary
#D161D5 #9FD561 #61D597
monochromatic
#902794 #C034C5 #D161D5 #DF91E2 #EDC2EF

Accessibility & contrast

On white

3.29
#D161D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#D161D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161D5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161D5#FFFFFF#000000##000000
##D161D51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385D9
Deuteranopia (green-blind)
#7793D2
Tritanopia (blue-blind)
#D66F92
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d161d5;
/* rgb */ color: rgb(209, 97, 213);
/* oklch */ color: oklch(67.1% 0.198 326.2);
Tailwind
colors: {
  custom: {
    50: '#e293e2',
    500: '#d161d5',
    950: '#000000',
  },
}
SCSS
$custom: #d161d5;
$custom-light: #e293e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d161d5",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 213
  },
  "hsl": {
    "h": 297.931,
    "s": 58,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67068,
    "c": 0.19832,
    "h": 326.2
  },
  "luminance": 0.26909
}

Semantic roles & 50–950 ramp

primary
#D161D5
secondary
#B4DFB3
accent
#C62026
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D161D5

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

Preview Lab → · Contrast checker → · Palette generator →

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