#9F1B96#9F1B96

#9F1B96 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.207 H 331.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F1B96
RGBrgb(159, 27, 150)
HSLhsl(304, 71%, 36%)
HSVhsv(304, 83%, 62%)
CMYKcmyk(0%, 83%, 5.7%, 37.6%)
CIE-LABlab(38.48, 63.54, -35.90)
CIE-LCHlch(38.48, 72.98, 330.53°)
OKLaboklab(49.73% 0.1817 -0.0991)
OKLCHoklch(49.73% 0.207 331.4)
XYZxyz(20.1951, 10.3585, 29.7840)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B96 #1B9F24
analogous
#661B9F #9F1B96 #9F1B54
triadic
#9F1B96 #969F1B #1B969F
tetradic
#9F1B96 #9F661B #1B9F24 #1B549F
square
#9F1B96 #9F661B #1B9F24 #1B549F
split-complementary
#9F1B96 #549F1B #1B9F66
monochromatic
#360933 #6B1265 #9F1B96 #D324C7 #E253D8

Accessibility & contrast

On white

6.84
#9F1B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F1B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1B96
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B96#FFFFFF#000000##FFFFFF
##9F1B961.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064F99
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A62F5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1b96;
/* rgb */ color: rgb(159, 27, 150);
/* oklch */ color: oklch(49.7% 0.207 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ab5',
    500: '#9f1b96',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b96;
$custom-light: #bf6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b96",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 304.091,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49728,
    "c": 0.20694,
    "h": 331.4
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#9F1B96
secondary
#51C559
accent
#EE463A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1B96

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

Preview Lab → · Contrast checker → · Palette generator →

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