#D161C7#D161C7

#D161C7 is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.4% C 0.186 H 331.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D161C7
RGBrgb(209, 97, 199)
HSLhsl(305, 55%, 60%)
HSVhsv(305, 54%, 82%)
CMYKcmyk(0%, 53.6%, 4.8%, 18%)
CIE-LABlab(58.26, 57.35, -33.10)
CIE-LCHlch(58.26, 66.21, 330.01°)
OKLaboklab(66.39% 0.1629 -0.0905)
OKLCHoklch(66.39% 0.186 331)
XYZxyz(40.8777, 26.2309, 56.9318)
Luminance0.2623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161C7 #61D16B
analogous
#A361D1 #D161C7 #D1618F
triadic
#D161C7 #C7D161 #61C7D1
tetradic
#D161C7 #D1A361 #61D16B #618FD1
square
#D161C7 #D1A361 #61D16B #618FD1
split-complementary
#D161C7 #8FD161 #61D1A3
monochromatic
#8E2985 #BE37B2 #D161C7 #DF90D8 #EDC0E9

Accessibility & contrast

On white

3.36
#D161C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D161C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161C7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161C7#FFFFFF#000000##000000
##D161C71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#7E92C4
Tritanopia (blue-blind)
#D86A8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d161c7;
/* rgb */ color: rgb(209, 97, 199);
/* oklch */ color: oklch(66.4% 0.186 331.0);
Tailwind
colors: {
  custom: {
    50: '#e293d8',
    500: '#d161c7',
    950: '#000000',
  },
}
SCSS
$custom: #d161c7;
$custom-light: #e293d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d161c7",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 199
  },
  "hsl": {
    "h": 305.357,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.66392,
    "c": 0.1863,
    "h": 331
  },
  "luminance": 0.26228
}

Semantic roles & 50–950 ramp

primary
#D161C7
secondary
#B1DCB5
accent
#DE574A
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D161C7

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

Preview Lab → · Contrast checker → · Palette generator →

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