#D161F7#D161F7

#D161F7 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.9% C 0.229 H 316.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#D161F7
RGBrgb(209, 97, 247)
HSLhsl(285, 90%, 67%)
HSVhsv(285, 61%, 97%)
CMYKcmyk(15.4%, 60.7%, 0%, 3.1%)
CIE-LABlab(60.62, 66.11, -56.31)
CIE-LCHlch(60.62, 86.84, 319.57°)
OKLaboklab(68.89% 0.1667 -0.1577)
OKLCHoklch(68.89% 0.229 316.6)
XYZxyz(47.3552, 28.8218, 91.0463)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161F7 #87F761
analogous
#8661F7 #D161F7 #F761D2
triadic
#D161F7 #F7D161 #61F7D1
tetradic
#D161F7 #F78661 #87F761 #61D2F7
square
#D161F7 #F78661 #87F761 #61D2F7
split-complementary
#D161F7 #D2F761 #61F786
monochromatic
#A00BD3 #C027F4 #D161F7 #E29BFA #F3D6FD

Accessibility & contrast

On white

3.10
#D161F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#D161F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161F7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161F7#FFFFFF#000000##000000
##D161F71.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFC
Deuteranopia (green-blind)
#6396F3
Tritanopia (blue-blind)
#CF7BA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d161f7;
/* rgb */ color: rgb(209, 97, 247);
/* oklch */ color: oklch(68.9% 0.229 316.6);
Tailwind
colors: {
  custom: {
    50: '#e294fa',
    500: '#d161f7',
    950: '#000000',
  },
}
SCSS
$custom: #d161f7;
$custom-light: #e294fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d161f7",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 247
  },
  "hsl": {
    "h": 284.8,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68893,
    "c": 0.22947,
    "h": 316.6
  },
  "luminance": 0.2882
}

Semantic roles & 50–950 ramp

primary
#D161F7
secondary
#CEF1C2
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D161F7

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

Preview Lab → · Contrast checker → · Palette generator →

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