#9B1F99#9B1F99

#9B1F99 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.204 H 328.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9B1F99
RGBrgb(155, 31, 153)
HSLhsl(301, 67%, 36%)
HSVhsv(301, 80%, 61%)
CMYKcmyk(0%, 80%, 1.3%, 39.2%)
CIE-LABlab(38.29, 62.19, -38.07)
CIE-LCHlch(38.29, 72.92, 328.53°)
OKLaboklab(49.52% 0.1746 -0.1055)
OKLCHoklch(49.52% 0.204 328.9)
XYZxyz(19.7571, 10.2500, 31.0687)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F99 #1F9B21
analogous
#5F1F9B #9B1F99 #9B1F5B
triadic
#9B1F99 #999B1F #1F999B
tetradic
#9B1F99 #9B5F1F #1F9B21 #1F5B9B
square
#9B1F99 #9B5F1F #1F9B21 #1F5B9B
split-complementary
#9B1F99 #5B9B1F #1F9B5F
monochromatic
#350B34 #681567 #9B1F99 #CE29CB #DD57DB

Accessibility & contrast

On white

6.89
#9B1F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B1F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1F99
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F99#FFFFFF#000000##FFFFFF
##9B1F991.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#A0345C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b1f99;
/* rgb */ color: rgb(155, 31, 153);
/* oklch */ color: oklch(49.5% 0.204 328.9);
Tailwind
colors: {
  custom: {
    50: '#bc6bb7',
    500: '#9b1f99',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f99;
$custom-light: #bc6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f99",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 300.968,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.20401,
    "h": 328.9
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#9B1F99
secondary
#55C156
accent
#EA413E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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