#9B1D91#9B1D91

#9B1D91 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.200 H 331.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9B1D91
RGBrgb(155, 29, 145)
HSLhsl(305, 68%, 36%)
HSVhsv(305, 81%, 61%)
CMYKcmyk(0%, 81.3%, 6.5%, 39.2%)
CIE-LABlab(37.65, 61.45, -34.21)
CIE-LCHlch(37.65, 70.33, 330.90°)
OKLaboklab(48.91% 0.1762 -0.0943)
OKLCHoklch(48.91% 0.2 331.9)
XYZxyz(19.0678, 9.8932, 27.6879)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D91 #1D9B27
analogous
#661D9B #9B1D91 #9B1D52
triadic
#9B1D91 #919B1D #1D919B
tetradic
#9B1D91 #9B661D #1D9B27 #1D529B
square
#9B1D91 #9B661D #1D9B27 #1D529B
split-complementary
#9B1D91 #529B1D #1D9B66
monochromatic
#340A31 #671361 #9B1D91 #CF27C1 #DF53D4

Accessibility & contrast

On white

7.05
#9B1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9B1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D91
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D91#FFFFFF#000000##FFFFFF
##9B1D911.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E94
Deuteranopia (green-blind)
#495F8E
Tritanopia (blue-blind)
#A22E57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b1d91;
/* rgb */ color: rgb(155, 29, 145);
/* oklch */ color: oklch(48.9% 0.200 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ab2',
    500: '#9b1d91',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d91;
$custom-light: #bc6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d91",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 304.762,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.19986,
    "h": 331.9
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#9B1D91
secondary
#52C25B
accent
#EB4A3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9B1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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