#9F16A1#9F16A1

#9F16A1 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.218 H 327.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9F16A1
RGBrgb(159, 22, 161)
HSLhsl(299, 76%, 36%)
HSVhsv(299, 86%, 63%)
CMYKcmyk(1.2%, 86.3%, 0%, 36.9%)
CIE-LABlab(38.76, 66.32, -42.11)
CIE-LCHlch(38.76, 78.57, 327.59°)
OKLaboklab(50.14% 0.1842 -0.1171)
OKLCHoklch(50.14% 0.218 327.6)
XYZxyz(21.0177, 10.5196, 34.6348)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F16A1 #18A116
analogous
#5916A1 #9F16A1 #A1165D
triadic
#9F16A1 #A19F16 #16A19F
tetradic
#9F16A1 #A15916 #18A116 #165DA1
square
#9F16A1 #A15916 #18A116 #165DA1
split-complementary
#9F16A1 #5DA116 #16A159
monochromatic
#350735 #6A0F6B #9F16A1 #D41DD7 #E44BE6

Accessibility & contrast

On white

6.77
#9F16A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F16A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F16A1
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F16A1#FFFFFF#000000##FFFFFF
##9F16A11.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#41619E
Tritanopia (blue-blind)
#A4335F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f16a1;
/* rgb */ color: rgb(159, 22, 161);
/* oklch */ color: oklch(50.1% 0.218 327.6);
Tailwind
colors: {
  custom: {
    50: '#c06abd',
    500: '#9f16a1',
    950: '#000000',
  },
}
SCSS
$custom: #9f16a1;
$custom-light: #c06abd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f16a1",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 299.137,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.2183,
    "h": 327.6
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#9F16A1
secondary
#4DC84B
accent
#F33538
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9F16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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