#9B3BB4#9B3BB4

#9B3BB4 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.195 H 318.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9B3BB4
RGBrgb(155, 59, 180)
HSLhsl(288, 51%, 47%)
HSVhsv(288, 67%, 71%)
CMYKcmyk(13.9%, 67.2%, 0%, 29.4%)
CIE-LABlab(43.35, 57.19, -46.13)
CIE-LCHlch(43.35, 73.48, 321.11°)
OKLaboklab(53.65% 0.1467 -0.1292)
OKLCHoklch(53.65% 0.195 318.6)
XYZxyz(23.3186, 13.3928, 44.5279)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BB4 #54B43B
analogous
#5E3BB4 #9B3BB4 #B43B91
triadic
#9B3BB4 #B49B3B #3BB49B
tetradic
#9B3BB4 #B45E3B #54B43B #3B91B4
square
#9B3BB4 #B45E3B #54B43B #3B91B4
split-complementary
#9B3BB4 #91B43B #3BB45E
monochromatic
#4C1D58 #732C86 #9B3BB4 #B561CB #CB8FDA

Accessibility & contrast

On white

5.71
#9B3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9B3BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BB4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BB4#FFFFFF#000000##FFFFFF
##9B3BB41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0860B8
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#9B5173
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b3bb4;
/* rgb */ color: rgb(155, 59, 180);
/* oklch */ color: oklch(53.6% 0.195 318.6);
Tailwind
colors: {
  custom: {
    50: '#bc78cb',
    500: '#9b3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bb4;
$custom-light: #bc78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bb4",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 287.603,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.19549,
    "h": 318.6
  },
  "luminance": 0.13392
}

Semantic roles & 50–950 ramp

primary
#9B3BB4
secondary
#93C586
accent
#DA4E6B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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