#9B1D89#9B1D89

#9B1D89 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.194 H 335.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9B1D89
RGBrgb(155, 29, 137)
HSLhsl(309, 68%, 36%)
HSVhsv(309, 81%, 61%)
CMYKcmyk(0%, 81.3%, 11.6%, 39.2%)
CIE-LABlab(37.22, 60.24, -29.98)
CIE-LCHlch(37.22, 67.29, 333.54°)
OKLaboklab(48.46% 0.176 -0.0821)
OKLCHoklch(48.46% 0.194 335)
XYZxyz(18.4725, 9.6551, 24.5528)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D89 #1D9B2F
analogous
#6E1D9B #9B1D89 #9B1D4A
triadic
#9B1D89 #899B1D #1D899B
tetradic
#9B1D89 #9B6E1D #1D9B2F #1D4A9B
square
#9B1D89 #9B6E1D #1D9B2F #1D4A9B
split-complementary
#9B1D89 #4A9B1D #1D9B6E
monochromatic
#340A2E #67135B #9B1D89 #CF27B7 #DF53CB

Accessibility & contrast

On white

7.17
#9B1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D89
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D89#FFFFFF#000000##FFFFFF
##9B1D891.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1d89;
/* rgb */ color: rgb(155, 29, 137);
/* oklch */ color: oklch(48.5% 0.194 335.0);
Tailwind
colors: {
  custom: {
    50: '#bc6aac',
    500: '#9b1d89',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d89;
$custom-light: #bc6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d89",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 308.571,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.1942,
    "h": 335
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#9B1D89
secondary
#52C262
accent
#EB553C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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