#D161F1#D161F1

#D161F1 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.6% C 0.224 H 318.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#D161F1
RGBrgb(209, 97, 241)
HSLhsl(287, 84%, 66%)
HSVhsv(287, 60%, 95%)
CMYKcmyk(13.3%, 59.8%, 0%, 5.5%)
CIE-LABlab(60.30, 64.94, -53.50)
CIE-LCHlch(60.30, 84.14, 320.52°)
OKLaboklab(68.55% 0.1666 -0.1494)
OKLCHoklch(68.55% 0.224 318.1)
XYZxyz(46.4442, 28.4574, 86.2484)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161F1 #81F161
analogous
#8961F1 #D161F1 #F161C9
triadic
#D161F1 #F1D161 #61F1D1
tetradic
#D161F1 #F18961 #81F161 #61C9F1
square
#D161F1 #F18961 #81F161 #61C9F1
split-complementary
#D161F1 #C9F161 #61F189
monochromatic
#9E12C6 #C129EC #D161F1 #E199F6 #F2D1FB

Accessibility & contrast

On white

3.14
#D161F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#D161F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161F1
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161F1#FFFFFF#000000##000000
##D161F11.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF5
Deuteranopia (green-blind)
#6795ED
Tritanopia (blue-blind)
#D079A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d161f1;
/* rgb */ color: rgb(209, 97, 241);
/* oklch */ color: oklch(68.6% 0.224 318.1);
Tailwind
colors: {
  custom: {
    50: '#e294f6',
    500: '#d161f1',
    950: '#000000',
  },
}
SCSS
$custom: #d161f1;
$custom-light: #e294f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d161f1",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 241
  },
  "hsl": {
    "h": 286.667,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68553,
    "c": 0.22383,
    "h": 318.1
  },
  "luminance": 0.28456
}

Semantic roles & 50–950 ramp

primary
#D161F1
secondary
#CAEEBF
accent
#E00536
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D161F1

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

Preview Lab → · Contrast checker → · Palette generator →

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