#9B1F96#9B1F96

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

Color values

HEX#9B1F96
RGBrgb(155, 31, 150)
HSLhsl(302, 67%, 36%)
HSVhsv(302, 80%, 61%)
CMYKcmyk(0%, 80%, 3.2%, 39.2%)
CIE-LABlab(38.11, 61.71, -36.52)
CIE-LCHlch(38.11, 71.71, 329.38°)
OKLaboklab(49.34% 0.1747 -0.101)
OKLCHoklch(49.34% 0.202 330)
XYZxyz(19.5125, 10.1521, 29.7801)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F96 #1F9B24
analogous
#621F9B #9B1F96 #9B1F58
triadic
#9B1F96 #969B1F #1F969B
tetradic
#9B1F96 #9B621F #1F9B24 #1F589B
square
#9B1F96 #9B621F #1F9B24 #1F589B
split-complementary
#9B1F96 #589B1F #1F9B62
monochromatic
#350B33 #681565 #9B1F96 #CE29C7 #DD57D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1F96#FFFFFF#000000##FFFFFF
##9B1F961.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)
#064F99
Deuteranopia (green-blind)
#475F93
Tritanopia (blue-blind)
#A1325B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b1f96;
/* rgb */ color: rgb(155, 31, 150);
/* oklch */ color: oklch(49.3% 0.202 330.0);
Tailwind
colors: {
  custom: {
    50: '#bc6bb5',
    500: '#9b1f96',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f96;
$custom-light: #bc6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f96",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 302.419,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49336,
    "c": 0.20178,
    "h": 330
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#9B1F96
secondary
#55C159
accent
#EA453E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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