#9B1B93#9B1B93

#9B1B93 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.203 H 331.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9B1B93
RGBrgb(155, 27, 147)
HSLhsl(304, 70%, 36%)
HSVhsv(304, 83%, 61%)
CMYKcmyk(0%, 82.6%, 5.2%, 39.2%)
CIE-LABlab(37.59, 62.26, -35.52)
CIE-LCHlch(37.59, 71.68, 330.29°)
OKLaboklab(48.91% 0.1777 -0.0981)
OKLCHoklch(48.91% 0.203 331.1)
XYZxyz(19.1760, 9.8606, 28.4914)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B93 #1B9B23
analogous
#631B9B #9B1B93 #9B1B53
triadic
#9B1B93 #939B1B #1B939B
tetradic
#9B1B93 #9B631B #1B9B23 #1B539B
square
#9B1B93 #9B631B #1B9B23 #1B539B
split-complementary
#9B1B93 #539B1B #1B9B63
monochromatic
#330930 #671262 #9B1B93 #CF24C4 #E050D7

Accessibility & contrast

On white

7.07
#9B1B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B1B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B93
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B93#FFFFFF#000000##FFFFFF
##9B1B931.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064D96
Deuteranopia (green-blind)
#475E90
Tritanopia (blue-blind)
#A12E58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1b93;
/* rgb */ color: rgb(155, 27, 147);
/* oklch */ color: oklch(48.9% 0.203 331.1);
Tailwind
colors: {
  custom: {
    50: '#bc6ab3',
    500: '#9b1b93',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b93;
$custom-light: #bc6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b93",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 303.75,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.20293,
    "h": 331.1
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#9B1B93
secondary
#4FC356
accent
#ED463B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9B1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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