#D161F8#D161F8

#D161F8 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.0% C 0.230 H 316.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#D161F8
RGBrgb(209, 97, 248)
HSLhsl(285, 92%, 68%)
HSVhsv(285, 61%, 97%)
CMYKcmyk(15.7%, 60.9%, 0%, 2.7%)
CIE-LABlab(60.68, 66.30, -56.78)
CIE-LCHlch(60.68, 87.29, 319.42°)
OKLaboklab(68.95% 0.1667 -0.159)
OKLCHoklch(68.95% 0.23 316.4)
XYZxyz(47.5099, 28.8837, 91.8612)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161F8 #88F861
analogous
#8561F8 #D161F8 #F861D4
triadic
#D161F8 #F8D161 #61F8D1
tetradic
#D161F8 #F88561 #88F861 #61D4F8
square
#D161F8 #F88561 #88F861 #61D4F8
split-complementary
#D161F8 #D4F861 #61F885
monochromatic
#A109D5 #C026F5 #D161F8 #E29CFB #F3D6FD

Accessibility & contrast

On white

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

On black

6.78
#D161F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161F8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161F8#FFFFFF#000000##000000
##D161F81.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFD
Deuteranopia (green-blind)
#6296F4
Tritanopia (blue-blind)
#CF7CA4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d161f8;
/* rgb */ color: rgb(209, 97, 248);
/* oklch */ color: oklch(69.0% 0.230 316.4);
Tailwind
colors: {
  custom: {
    50: '#e294fb',
    500: '#d161f8',
    950: '#000000',
  },
}
SCSS
$custom: #d161f8;
$custom-light: #e294fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d161f8",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 248
  },
  "hsl": {
    "h": 284.503,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6895,
    "c": 0.2304,
    "h": 316.4
  },
  "luminance": 0.28882
}

Semantic roles & 50–950 ramp

primary
#D161F8
secondary
#CFF2C3
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D161F8

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

Preview Lab → · Contrast checker → · Palette generator →

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