#D161F2#D161F2

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

Color values

HEX#D161F2
RGBrgb(209, 97, 242)
HSLhsl(286, 85%, 66%)
HSVhsv(286, 60%, 95%)
CMYKcmyk(13.6%, 59.9%, 0%, 5.1%)
CIE-LABlab(60.35, 65.14, -53.97)
CIE-LCHlch(60.35, 84.59, 320.36°)
OKLaboklab(68.61% 0.1667 -0.1508)
OKLCHoklch(68.61% 0.225 317.9)
XYZxyz(46.5940, 28.5174, 87.0372)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161F2 #82F261
analogous
#8961F2 #D161F2 #F261CB
triadic
#D161F2 #F2D161 #61F2D1
tetradic
#D161F2 #F28961 #82F261 #61CBF2
square
#D161F2 #F28961 #82F261 #61CBF2
split-complementary
#D161F2 #CBF261 #61F289
monochromatic
#9E10C8 #C128ED #D161F2 #E19AF7 #F2D2FB

Accessibility & contrast

On white

3.13
#D161F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D161F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161F2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161F2#FFFFFF#000000##000000
##D161F21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF7
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#D079A1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d161f2;
/* rgb */ color: rgb(209, 97, 242);
/* oklch */ color: oklch(68.6% 0.225 317.9);
Tailwind
colors: {
  custom: {
    50: '#e294f7',
    500: '#d161f2',
    950: '#000000',
  },
}
SCSS
$custom: #d161f2;
$custom-light: #e294f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d161f2",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 242
  },
  "hsl": {
    "h": 286.345,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68609,
    "c": 0.22478,
    "h": 317.9
  },
  "luminance": 0.28516
}

Semantic roles & 50–950 ramp

primary
#D161F2
secondary
#CBEFC0
accent
#E10437
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D161F2

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

Preview Lab → · Contrast checker → · Palette generator →

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