#9B1F89#9B1F89

#9B1F89 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.192 H 335.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9B1F89
RGBrgb(155, 31, 137)
HSLhsl(309, 67%, 36%)
HSVhsv(309, 80%, 61%)
CMYKcmyk(0%, 80%, 11.6%, 39.2%)
CIE-LABlab(37.40, 59.71, -29.69)
CIE-LCHlch(37.40, 66.68, 333.56°)
OKLaboklab(48.6% 0.1744 -0.0812)
OKLCHoklch(48.6% 0.192 335)
XYZxyz(18.5232, 9.7564, 24.5697)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F89 #1F9B31
analogous
#6F1F9B #9B1F89 #9B1F4B
triadic
#9B1F89 #899B1F #1F899B
tetradic
#9B1F89 #9B6F1F #1F9B31 #1F4B9B
square
#9B1F89 #9B6F1F #1F9B31 #1F4B9B
split-complementary
#9B1F89 #4B9B1F #1F9B6F
monochromatic
#350B2F #68155C #9B1F89 #CE29B6 #DD57CA

Accessibility & contrast

On white

7.12
#9B1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F89
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F89#FFFFFF#000000##FFFFFF
##9B1F891.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#4D5E86
Tritanopia (blue-blind)
#A32B53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1f89;
/* rgb */ color: rgb(155, 31, 137);
/* oklch */ color: oklch(48.6% 0.192 335.0);
Tailwind
colors: {
  custom: {
    50: '#bc6aac',
    500: '#9b1f89',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f89;
$custom-light: #bc6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f89",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 308.71,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.19241,
    "h": 335
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#9B1F89
secondary
#55C164
accent
#EA573E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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