#9F169D#9F169D

#9F169D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.215 H 328.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F169D
RGBrgb(159, 22, 157)
HSLhsl(301, 76%, 35%)
HSVhsv(301, 86%, 62%)
CMYKcmyk(0%, 86.2%, 1.3%, 37.6%)
CIE-LABlab(38.52, 65.69, -40.08)
CIE-LCHlch(38.52, 76.96, 328.61°)
OKLaboklab(49.89% 0.1845 -0.1112)
OKLCHoklch(49.89% 0.215 328.9)
XYZxyz(20.6706, 10.3807, 32.8067)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F169D #169F18
analogous
#5C169F #9F169D #9F1658
triadic
#9F169D #9D9F16 #169D9F
tetradic
#9F169D #9F5C16 #169F18 #16589F
square
#9F169D #9F5C16 #169F18 #16589F
split-complementary
#9F169D #589F16 #169F5C
monochromatic
#330733 #690F68 #9F169D #D51DD2 #E64AE4

Accessibility & contrast

On white

6.83
#9F169D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F169D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F169D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F169D#FFFFFF#000000##FFFFFF
##9F169D1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#A5305D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f169d;
/* rgb */ color: rgb(159, 22, 157);
/* oklch */ color: oklch(49.9% 0.215 328.9);
Tailwind
colors: {
  custom: {
    50: '#c069ba',
    500: '#9f169d',
    950: '#000000',
  },
}
SCSS
$custom: #9f169d;
$custom-light: #c069ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f169d",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 300.876,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.21544,
    "h": 328.9
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#9F169D
secondary
#4AC74B
accent
#F23836
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9F169D

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

Preview Lab → · Contrast checker → · Palette generator →

#9F169D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva