#9F1F99#9F1F99

#9F1F99 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.206 H 330.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9F1F99
RGBrgb(159, 31, 153)
HSLhsl(303, 67%, 37%)
HSVhsv(303, 81%, 62%)
CMYKcmyk(0%, 80.5%, 3.8%, 37.6%)
CIE-LABlab(38.99, 63.02, -36.91)
CIE-LCHlch(38.99, 73.03, 329.64°)
OKLaboklab(50.15% 0.1788 -0.102)
OKLCHoklch(50.15% 0.206 330.3)
XYZxyz(20.5378, 10.6525, 31.1053)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F99 #1F9F25
analogous
#651F9F #9F1F99 #9F1F59
triadic
#9F1F99 #999F1F #1F999F
tetradic
#9F1F99 #9F651F #1F9F25 #1F599F
square
#9F1F99 #9F651F #1F9F25 #1F599F
split-complementary
#9F1F99 #599F1F #1F9F65
monochromatic
#390B36 #6C1568 #9F1F99 #D229CA #DF5AD9

Accessibility & contrast

On white

6.71
#9F1F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F1F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1F99
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F99#FFFFFF#000000##FFFFFF
##9F1F991.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#A5335C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1f99;
/* rgb */ color: rgb(159, 31, 153);
/* oklch */ color: oklch(50.1% 0.206 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6cb7',
    500: '#9f1f99',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f99;
$custom-light: #bf6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f99",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 302.813,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.20586,
    "h": 330.3
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#9F1F99
secondary
#57C35C
accent
#EA463E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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