#9F1A91#9F1A91

#9F1A91 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.204 H 333.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F1A91
RGBrgb(159, 26, 145)
HSLhsl(306, 72%, 36%)
HSVhsv(306, 84%, 62%)
CMYKcmyk(0%, 83.6%, 8.8%, 37.6%)
CIE-LABlab(38.12, 63.01, -33.42)
CIE-LCHlch(38.12, 71.33, 332.06°)
OKLaboklab(49.38% 0.1824 -0.0919)
OKLCHoklch(49.38% 0.204 333.3)
XYZxyz(19.7785, 10.1558, 27.7012)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A91 #1A9F28
analogous
#6B1A9F #9F1A91 #9F1A4F
triadic
#9F1A91 #919F1A #1A919F
tetradic
#9F1A91 #9F6B1A #1A9F28 #1A4F9F
square
#9F1A91 #9F6B1A #1A9F28 #1A4F9F
split-complementary
#9F1A91 #4F9F1A #1A9F6B
monochromatic
#360931 #6A1161 #9F1A91 #D423C1 #E351D3

Accessibility & contrast

On white

6.93
#9F1A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F1A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A91
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A91#FFFFFF#000000##FFFFFF
##9F1A911.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#A72B57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1a91;
/* rgb */ color: rgb(159, 26, 145);
/* oklch */ color: oklch(49.4% 0.204 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ab1',
    500: '#9f1a91',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a91;
$custom-light: #bf6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a91",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 306.316,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.20419,
    "h": 333.3
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#9F1A91
secondary
#50C55C
accent
#EF4C39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1A91

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

Preview Lab → · Contrast checker → · Palette generator →

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