#9F1A99#9F1A99

#9F1A99 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.210 H 330.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9F1A99
RGBrgb(159, 26, 153)
HSLhsl(303, 72%, 36%)
HSVhsv(303, 84%, 62%)
CMYKcmyk(0%, 83.6%, 3.8%, 37.6%)
CIE-LABlab(38.57, 64.23, -37.58)
CIE-LCHlch(38.57, 74.41, 329.67°)
OKLaboklab(49.85% 0.1823 -0.1039)
OKLCHoklch(49.85% 0.21 330.3)
XYZxyz(20.4172, 10.4113, 31.0651)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A99 #1A9F20
analogous
#631A9F #9F1A99 #9F1A57
triadic
#9F1A99 #999F1A #1A999F
tetradic
#9F1A99 #9F631A #1A9F20 #1A579F
square
#9F1A99 #9F631A #1A9F20 #1A579F
split-complementary
#9F1A99 #579F1A #1A9F63
monochromatic
#360934 #6A1166 #9F1A99 #D423CC #E351DC

Accessibility & contrast

On white

6.81
#9F1A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F1A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A99
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A99#FFFFFF#000000##FFFFFF
##9F1A991.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1a99;
/* rgb */ color: rgb(159, 26, 153);
/* oklch */ color: oklch(49.8% 0.210 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ab7',
    500: '#9f1a99',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a99;
$custom-light: #bf6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a99",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 302.707,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49849,
    "c": 0.20984,
    "h": 330.3
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#9F1A99
secondary
#50C555
accent
#EF4139
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1A99

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

Preview Lab → · Contrast checker → · Palette generator →

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