#9B3BB2#9B3BB2

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

Color values

HEX#9B3BB2
RGBrgb(155, 59, 178)
HSLhsl(288, 50%, 46%)
HSVhsv(288, 67%, 70%)
CMYKcmyk(12.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(43.23, 56.80, -45.14)
CIE-LCHlch(43.23, 72.55, 321.53°)
OKLaboklab(53.52% 0.1468 -0.1263)
OKLCHoklch(53.52% 0.194 319.3)
XYZxyz(23.1164, 13.3119, 43.4627)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BB2 #52B23B
analogous
#603BB2 #9B3BB2 #B23B8E
triadic
#9B3BB2 #B29B3B #3BB29B
tetradic
#9B3BB2 #B2603B #52B23B #3B8EB2
square
#9B3BB2 #B2603B #52B23B #3B8EB2
split-complementary
#9B3BB2 #8EB23B #3BB260
monochromatic
#4B1D56 #732C84 #9B3BB2 #B660CA #CB8EDA

Accessibility & contrast

On white

5.73
#9B3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9B3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BB2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BB2#FFFFFF#000000##FFFFFF
##9B3BB21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#9B5072
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b3bb2;
/* rgb */ color: rgb(155, 59, 178);
/* oklch */ color: oklch(53.5% 0.194 319.3);
Tailwind
colors: {
  custom: {
    50: '#bc78c9',
    500: '#9b3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bb2;
$custom-light: #bc78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bb2",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 288.403,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.19364,
    "h": 319.3
  },
  "luminance": 0.13311
}

Semantic roles & 50–950 ramp

primary
#9B3BB2
secondary
#91C485
accent
#DA4E69
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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