#D161D7#D161D7

#D161D7 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.2% C 0.200 H 325.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#D161D7
RGBrgb(209, 97, 215)
HSLhsl(297, 60%, 61%)
HSVhsv(297, 55%, 84%)
CMYKcmyk(2.8%, 54.9%, 0%, 15.7%)
CIE-LABlab(58.99, 60.12, -41.02)
CIE-LCHlch(58.99, 72.79, 325.69°)
OKLaboklab(67.17% 0.165 -0.1132)
OKLCHoklch(67.17% 0.2 325.5)
XYZxyz(42.8340, 27.0134, 67.2347)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161D7 #67D761
analogous
#9661D7 #D161D7 #D761A2
triadic
#D161D7 #D7D161 #61D7D1
tetradic
#D161D7 #D79661 #67D761 #61A2D7
square
#D161D7 #D79661 #67D761 #61A2D7
split-complementary
#D161D7 #A2D761 #61D796
monochromatic
#922697 #C133C8 #D161D7 #DF92E3 #EDC3F0

Accessibility & contrast

On white

3.28
#D161D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#D161D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161D7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161D7#FFFFFF#000000##000000
##D161D71.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285DB
Deuteranopia (green-blind)
#7693D4
Tritanopia (blue-blind)
#D67093
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d161d7;
/* rgb */ color: rgb(209, 97, 215);
/* oklch */ color: oklch(67.2% 0.200 325.5);
Tailwind
colors: {
  custom: {
    50: '#e293e4',
    500: '#d161d7',
    950: '#000000',
  },
}
SCSS
$custom: #d161d7;
$custom-light: #e293e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d161d7",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 215
  },
  "hsl": {
    "h": 296.949,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.20008,
    "h": 325.5
  },
  "luminance": 0.27011
}

Semantic roles & 50–950 ramp

primary
#D161D7
secondary
#B6E0B4
accent
#C71E27
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #D161D7

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

Preview Lab → · Contrast checker → · Palette generator →

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