#9B3BB5#9B3BB5

#9B3BB5 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.196 H 318.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9B3BB5
RGBrgb(155, 59, 181)
HSLhsl(287, 51%, 47%)
HSVhsv(287, 67%, 71%)
CMYKcmyk(14.4%, 67.4%, 0%, 29%)
CIE-LABlab(43.41, 57.39, -46.62)
CIE-LCHlch(43.41, 73.94, 320.91°)
OKLaboklab(53.71% 0.1467 -0.1306)
OKLCHoklch(53.71% 0.196 318.3)
XYZxyz(23.4209, 13.4337, 45.0664)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BB5 #55B53B
analogous
#5E3BB5 #9B3BB5 #B53B92
triadic
#9B3BB5 #B59B3B #3BB59B
tetradic
#9B3BB5 #B55E3B #55B53B #3B92B5
square
#9B3BB5 #B55E3B #55B53B #3B92B5
split-complementary
#9B3BB5 #92B53B #3BB55E
monochromatic
#4C1D59 #732C87 #9B3BB5 #B562CC #CB90DB

Accessibility & contrast

On white

5.70
#9B3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9B3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BB5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BB5#FFFFFF#000000##FFFFFF
##9B3BB51.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B9
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#9B5173
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3bb5;
/* rgb */ color: rgb(155, 59, 181);
/* oklch */ color: oklch(53.7% 0.196 318.3);
Tailwind
colors: {
  custom: {
    50: '#bc78cc',
    500: '#9b3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bb5;
$custom-light: #bc78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bb5",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 287.213,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.19642,
    "h": 318.3
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#9B3BB5
secondary
#94C686
accent
#DA4D6B
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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