#9B1F95#9B1F95

#9B1F95 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.201 H 330.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9B1F95
RGBrgb(155, 31, 149)
HSLhsl(303, 67%, 36%)
HSVhsv(303, 80%, 61%)
CMYKcmyk(0%, 80%, 3.9%, 39.2%)
CIE-LABlab(38.06, 61.55, -36.00)
CIE-LCHlch(38.06, 71.31, 329.67°)
OKLaboklab(49.28% 0.1747 -0.0995)
OKLCHoklch(49.28% 0.201 330.3)
XYZxyz(19.4323, 10.1200, 29.3578)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F95 #1F9B25
analogous
#631F9B #9B1F95 #9B1F57
triadic
#9B1F95 #959B1F #1F959B
tetradic
#9B1F95 #9B631F #1F9B25 #1F579B
square
#9B1F95 #9B631F #1F9B25 #1F579B
split-complementary
#9B1F95 #579B1F #1F9B63
monochromatic
#350B33 #681564 #9B1F95 #CE29C6 #DD57D7

Accessibility & contrast

On white

6.95
#9B1F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9B1F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1F95
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F95#FFFFFF#000000##FFFFFF
##9B1F951.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F98
Deuteranopia (green-blind)
#475F92
Tritanopia (blue-blind)
#A1325A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b1f95;
/* rgb */ color: rgb(155, 31, 149);
/* oklch */ color: oklch(49.3% 0.201 330.3);
Tailwind
colors: {
  custom: {
    50: '#bc6bb4',
    500: '#9b1f95',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f95;
$custom-light: #bc6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f95",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 302.903,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.20104,
    "h": 330.3
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#9B1F95
secondary
#55C15A
accent
#EA473E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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