#9D16A1#9D16A1

#9D16A1 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.217 H 326.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9D16A1
RGBrgb(157, 22, 161)
HSLhsl(298, 76%, 36%)
HSVhsv(298, 86%, 63%)
CMYKcmyk(2.5%, 86.3%, 0%, 36.9%)
CIE-LABlab(38.40, 65.95, -42.70)
CIE-LCHlch(38.40, 78.57, 327.08°)
OKLaboklab(49.82% 0.1821 -0.1189)
OKLCHoklch(49.82% 0.217 326.9)
XYZxyz(20.6242, 10.3167, 34.6164)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D16A1 #1AA116
analogous
#5716A1 #9D16A1 #A1165F
triadic
#9D16A1 #A19D16 #16A19D
tetradic
#9D16A1 #A15716 #1AA116 #165FA1
square
#9D16A1 #A15716 #1AA116 #165FA1
split-complementary
#9D16A1 #5FA116 #16A157
monochromatic
#340735 #680F6B #9D16A1 #D21DD7 #E24BE6

Accessibility & contrast

On white

6.86
#9D16A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D16A1
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D16A1#FFFFFF#000000##FFFFFF
##9D16A11.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#3F609E
Tritanopia (blue-blind)
#A2335F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d16a1;
/* rgb */ color: rgb(157, 22, 161);
/* oklch */ color: oklch(49.8% 0.217 326.9);
Tailwind
colors: {
  custom: {
    50: '#be69bd',
    500: '#9d16a1',
    950: '#000000',
  },
}
SCSS
$custom: #9d16a1;
$custom-light: #be69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d16a1",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 298.273,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.21749,
    "h": 326.9
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#9D16A1
secondary
#4EC84B
accent
#F3353B
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9D16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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