#9B3BB9#9B3BB9

#9B3BB9 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.200 H 317.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9B3BB9
RGBrgb(155, 59, 185)
HSLhsl(286, 52%, 48%)
HSVhsv(286, 68%, 73%)
CMYKcmyk(16.2%, 68.1%, 0%, 27.5%)
CIE-LABlab(43.65, 58.18, -48.58)
CIE-LCHlch(43.65, 75.80, 320.14°)
OKLaboklab(53.97% 0.1465 -0.1363)
OKLCHoklch(53.97% 0.2 317.1)
XYZxyz(23.8372, 13.6002, 47.2590)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BB9 #59B93B
analogous
#5C3BB9 #9B3BB9 #B93B98
triadic
#9B3BB9 #B99B3B #3BB99B
tetradic
#9B3BB9 #B95C3B #59B93B #3B98B9
square
#9B3BB9 #B95C3B #59B93B #3B98B9
split-complementary
#9B3BB9 #98B93B #3BB95C
monochromatic
#4D1D5C #742C8B #9B3BB9 #B464CD #CB92DC

Accessibility & contrast

On white

5.65
#9B3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9B3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BB9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BB9#FFFFFF#000000##FFFFFF
##9B3BB91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#9A5375
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3bb9;
/* rgb */ color: rgb(155, 59, 185);
/* oklch */ color: oklch(54.0% 0.200 317.1);
Tailwind
colors: {
  custom: {
    50: '#bc79cf',
    500: '#9b3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bb9;
$custom-light: #bc79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bb9",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 285.714,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.20013,
    "h": 317.1
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#9B3BB9
secondary
#97C788
accent
#DB4D6F
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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