#9F1B91#9F1B91

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

Color values

HEX#9F1B91
RGBrgb(159, 27, 145)
HSLhsl(306, 71%, 36%)
HSVhsv(306, 83%, 62%)
CMYKcmyk(0%, 83%, 8.8%, 37.6%)
CIE-LABlab(38.20, 62.78, -33.29)
CIE-LCHlch(38.20, 71.06, 332.06°)
OKLaboklab(49.44% 0.1817 -0.0915)
OKLCHoklch(49.44% 0.203 333.3)
XYZxyz(19.8010, 10.2009, 27.7087)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B91 #1B9F29
analogous
#6B1B9F #9F1B91 #9F1B4F
triadic
#9F1B91 #919F1B #1B919F
tetradic
#9F1B91 #9F6B1B #1B9F29 #1B4F9F
square
#9F1B91 #9F6B1B #1B9F29 #1B4F9F
split-complementary
#9F1B91 #4F9F1B #1B9F6B
monochromatic
#360932 #6B1261 #9F1B91 #D324C1 #E253D3

Accessibility & contrast

On white

6.91
#9F1B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F1B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1B91
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B91#FFFFFF#000000##FFFFFF
##9F1B911.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b91;
/* rgb */ color: rgb(159, 27, 145);
/* oklch */ color: oklch(49.4% 0.203 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ab1',
    500: '#9f1b91',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b91;
$custom-light: #bf6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b91",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 306.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.20342,
    "h": 333.3
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#9F1B91
secondary
#51C55D
accent
#EE4D3A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1B91

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

Preview Lab → · Contrast checker → · Palette generator →

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