#9F1B99#9F1B99

#9F1B99 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.209 H 330.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F1B99
RGBrgb(159, 27, 153)
HSLhsl(303, 71%, 36%)
HSVhsv(303, 83%, 62%)
CMYKcmyk(0%, 83%, 3.8%, 37.6%)
CIE-LABlab(38.65, 64.00, -37.45)
CIE-LCHlch(38.65, 74.15, 329.67°)
OKLaboklab(49.91% 0.1816 -0.1036)
OKLCHoklch(49.91% 0.209 330.3)
XYZxyz(20.4397, 10.4564, 31.0726)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B99 #1B9F21
analogous
#631B9F #9F1B99 #9F1B57
triadic
#9F1B99 #999F1B #1B999F
tetradic
#9F1B99 #9F631B #1B9F21 #1B579F
square
#9F1B99 #9F631B #1B9F21 #1B579F
split-complementary
#9F1B99 #579F1B #1B9F63
monochromatic
#360934 #6B1267 #9F1B99 #D324CB #E253DB

Accessibility & contrast

On white

6.79
#9F1B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F1B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1B99
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B99#FFFFFF#000000##FFFFFF
##9F1B991.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#A5305C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1b99;
/* rgb */ color: rgb(159, 27, 153);
/* oklch */ color: oklch(49.9% 0.209 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ab7',
    500: '#9f1b99',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b99;
$custom-light: #bf6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b99",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 302.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.20908,
    "h": 330.3
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#9F1B99
secondary
#51C556
accent
#EE423A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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