#9F1A96#9F1A96

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

Color values

HEX#9F1A96
RGBrgb(159, 26, 150)
HSLhsl(304, 72%, 36%)
HSVhsv(304, 84%, 62%)
CMYKcmyk(0%, 83.6%, 5.7%, 37.6%)
CIE-LABlab(38.40, 63.77, -36.03)
CIE-LCHlch(38.40, 73.24, 330.54°)
OKLaboklab(49.67% 0.1824 -0.0994)
OKLCHoklch(49.67% 0.208 331.4)
XYZxyz(20.1725, 10.3134, 29.7765)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A96 #1A9F23
analogous
#661A9F #9F1A96 #9F1A54
triadic
#9F1A96 #969F1A #1A969F
tetradic
#9F1A96 #9F661A #1A9F23 #1A549F
square
#9F1A96 #9F661A #1A9F23 #1A549F
split-complementary
#9F1A96 #549F1A #1A9F66
monochromatic
#360933 #6A1164 #9F1A96 #D423C8 #E351D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1A96#FFFFFF#000000##FFFFFF
##9F1A961.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)
#044F99
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A62E5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1a96;
/* rgb */ color: rgb(159, 26, 150);
/* oklch */ color: oklch(49.7% 0.208 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ab5',
    500: '#9f1a96',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a96;
$custom-light: #bf6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a96",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 304.06,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.2077,
    "h": 331.4
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#9F1A96
secondary
#50C558
accent
#EF4539
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1A96

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

Preview Lab → · Contrast checker → · Palette generator →

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