#9F169A#9F169A

#9F169A is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.213 H 330.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F169A
RGBrgb(159, 22, 154)
HSLhsl(302, 76%, 35%)
HSVhsv(302, 86%, 62%)
CMYKcmyk(0%, 86.2%, 3.1%, 37.6%)
CIE-LABlab(38.34, 65.23, -38.55)
CIE-LCHlch(38.34, 75.77, 329.42°)
OKLaboklab(49.7% 0.1847 -0.1067)
OKLCHoklch(49.7% 0.213 330)
XYZxyz(20.4176, 10.2795, 31.4744)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F169A #169F1B
analogous
#5F169F #9F169A #9F1655
triadic
#9F169A #9A9F16 #169A9F
tetradic
#9F169A #9F5F16 #169F1B #16559F
square
#9F169A #9F5F16 #169F1B #16559F
split-complementary
#9F169A #559F16 #169F5F
monochromatic
#330732 #690F66 #9F169A #D51DCE #E64AE0

Accessibility & contrast

On white

6.87
#9F169A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F169A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F169A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F169A#FFFFFF#000000##FFFFFF
##9F169A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#466097
Tritanopia (blue-blind)
#A52F5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f169a;
/* rgb */ color: rgb(159, 22, 154);
/* oklch */ color: oklch(49.7% 0.213 330.0);
Tailwind
colors: {
  custom: {
    50: '#c069b8',
    500: '#9f169a',
    950: '#000000',
  },
}
SCSS
$custom: #9f169a;
$custom-light: #c069b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f169a",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 154
  },
  "hsl": {
    "h": 302.19,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.21331,
    "h": 330
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#9F169A
secondary
#4AC74E
accent
#F23C36
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F169A

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

Preview Lab → · Contrast checker → · Palette generator →

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