#9F1A9D#9F1A9D

#9F1A9D is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.213 H 328.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F1A9D
RGBrgb(159, 26, 157)
HSLhsl(301, 72%, 36%)
HSVhsv(301, 84%, 62%)
CMYKcmyk(0%, 83.6%, 1.3%, 37.6%)
CIE-LABlab(38.80, 64.86, -39.63)
CIE-LCHlch(38.80, 76.00, 328.57°)
OKLaboklab(50.09% 0.1821 -0.1099)
OKLCHoklch(50.09% 0.213 328.9)
XYZxyz(20.7531, 10.5457, 32.8342)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A9D #1A9F1C
analogous
#5F1A9F #9F1A9D #9F1A5B
triadic
#9F1A9D #9D9F1A #1A9D9F
tetradic
#9F1A9D #9F5F1A #1A9F1C #1A5B9F
square
#9F1A9D #9F5F1A #1A9F1C #1A5B9F
split-complementary
#9F1A9D #5B9F1A #1A9F5F
monochromatic
#360935 #6A1169 #9F1A9D #D423D1 #E351E0

Accessibility & contrast

On white

6.76
#9F1A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F1A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A9D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A9D#FFFFFF#000000##FFFFFF
##9F1A9D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A5325E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1a9d;
/* rgb */ color: rgb(159, 26, 157);
/* oklch */ color: oklch(50.1% 0.213 328.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aba',
    500: '#9f1a9d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a9d;
$custom-light: #bf6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a9d",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 300.902,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5009,
    "c": 0.21271,
    "h": 328.9
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#9F1A9D
secondary
#50C551
accent
#EF3C39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F1A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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