#D161FD#D161FD

#D161FD is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.2% C 0.235 H 315.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#D161FD
RGBrgb(209, 97, 253)
HSLhsl(283, 98%, 69%)
HSVhsv(283, 62%, 99%)
CMYKcmyk(17.4%, 61.7%, 0%, 0.8%)
CIE-LABlab(60.96, 67.28, -59.10)
CIE-LCHlch(60.96, 89.55, 318.71°)
OKLaboklab(69.24% 0.1667 -0.1658)
OKLCHoklch(69.24% 0.235 315.2)
XYZxyz(48.2960, 29.1982, 96.0012)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161FD #8DFD61
analogous
#8361FD #D161FD #FD61DB
triadic
#D161FD #FDD161 #61FDD1
tetradic
#D161FD #FD8361 #8DFD61 #61DBFD
square
#D161FD #FD8361 #8DFD61 #61DBFD
split-complementary
#D161FD #DBFD61 #61FD83
monochromatic
#A203E1 #BF25FC #D161FD #E39DFE #F4DAFF

Accessibility & contrast

On white

3.07
#D161FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D161FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161FD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161FD#FFFFFF#000000##000000
##D161FD1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#288DFF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#CE7DA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d161fd;
/* rgb */ color: rgb(209, 97, 253);
/* oklch */ color: oklch(69.2% 0.235 315.2);
Tailwind
colors: {
  custom: {
    50: '#e394ff',
    500: '#d161fd',
    950: '#000000',
  },
}
SCSS
$custom: #d161fd;
$custom-light: #e394ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d161fd",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 253
  },
  "hsl": {
    "h": 283.077,
    "s": 97.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6924,
    "c": 0.23513,
    "h": 315.2
  },
  "luminance": 0.29197
}

Semantic roles & 50–950 ramp

primary
#D161FD
secondary
#D3F4C6
accent
#E60041
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D161FD

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

Preview Lab → · Contrast checker → · Palette generator →

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