#9B16A1#9B16A1

#9B16A1 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.217 H 326.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9B16A1
RGBrgb(155, 22, 161)
HSLhsl(297, 76%, 36%)
HSVhsv(297, 86%, 63%)
CMYKcmyk(3.7%, 86.3%, 0%, 36.9%)
CIE-LABlab(38.05, 65.58, -43.28)
CIE-LCHlch(38.05, 78.58, 326.58°)
OKLaboklab(49.5% 0.18 -0.1206)
OKLCHoklch(49.5% 0.217 326.2)
XYZxyz(20.2371, 10.1171, 34.5982)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B16A1 #1CA116
analogous
#5516A1 #9B16A1 #A11661
triadic
#9B16A1 #A19B16 #16A19B
tetradic
#9B16A1 #A15516 #1CA116 #1661A1
square
#9B16A1 #A15516 #1CA116 #1661A1
split-complementary
#9B16A1 #61A116 #16A155
monochromatic
#330735 #670F6B #9B16A1 #CF1DD7 #E04BE6

Accessibility & contrast

On white

6.95
#9B16A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9B16A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B16A1
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B16A1#FFFFFF#000000##FFFFFF
##9B16A11.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#3D5F9E
Tritanopia (blue-blind)
#9F345F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b16a1;
/* rgb */ color: rgb(155, 22, 161);
/* oklch */ color: oklch(49.5% 0.217 326.2);
Tailwind
colors: {
  custom: {
    50: '#bd69bd',
    500: '#9b16a1',
    950: '#000000',
  },
}
SCSS
$custom: #9b16a1;
$custom-light: #bd69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b16a1",
  "rgb": {
    "r": 155,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 297.41,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.21668,
    "h": 326.2
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#9B16A1
secondary
#50C84B
accent
#F3353D
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9B16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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