#9B3BB1#9B3BB1

#9B3BB1 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.193 H 319.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9B3BB1
RGBrgb(155, 59, 177)
HSLhsl(289, 50%, 46%)
HSVhsv(289, 67%, 69%)
CMYKcmyk(12.4%, 66.7%, 0%, 30.6%)
CIE-LABlab(43.17, 56.61, -44.64)
CIE-LCHlch(43.17, 72.09, 321.74°)
OKLaboklab(53.46% 0.1468 -0.1248)
OKLCHoklch(53.46% 0.193 319.6)
XYZxyz(23.0163, 13.2719, 42.9358)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BB1 #51B13B
analogous
#603BB1 #9B3BB1 #B13B8C
triadic
#9B3BB1 #B19B3B #3BB19B
tetradic
#9B3BB1 #B1603B #51B13B #3B8CB1
square
#9B3BB1 #B1603B #51B13B #3B8CB1
split-complementary
#9B3BB1 #8CB13B #3BB160
monochromatic
#4B1C55 #732C83 #9B3BB1 #B65FCA #CB8DD9

Accessibility & contrast

On white

5.75
#9B3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9B3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BB1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BB1#FFFFFF#000000##FFFFFF
##9B3BB11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB4
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#9B5071
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b3bb1;
/* rgb */ color: rgb(155, 59, 177);
/* oklch */ color: oklch(53.5% 0.193 319.6);
Tailwind
colors: {
  custom: {
    50: '#bc78c9',
    500: '#9b3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bb1;
$custom-light: #bc78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bb1",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 288.814,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.19272,
    "h": 319.6
  },
  "luminance": 0.13271
}

Semantic roles & 50–950 ramp

primary
#9B3BB1
secondary
#90C484
accent
#DA4E68
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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