#9B3BB8#9B3BB8

#9B3BB8 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.199 H 317.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9B3BB8
RGBrgb(155, 59, 184)
HSLhsl(286, 51%, 48%)
HSVhsv(286, 68%, 72%)
CMYKcmyk(15.8%, 67.9%, 0%, 27.8%)
CIE-LABlab(43.59, 57.98, -48.09)
CIE-LCHlch(43.59, 75.33, 320.33°)
OKLaboklab(53.9% 0.1466 -0.1349)
OKLCHoklch(53.9% 0.199 317.4)
XYZxyz(23.7320, 13.5582, 46.7050)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BB8 #58B83B
analogous
#5D3BB8 #9B3BB8 #B83B96
triadic
#9B3BB8 #B89B3B #3BB89B
tetradic
#9B3BB8 #B85D3B #58B83B #3B96B8
square
#9B3BB8 #B85D3B #58B83B #3B96B8
split-complementary
#9B3BB8 #96B83B #3BB85D
monochromatic
#4D1D5B #742C8A #9B3BB8 #B463CD #CB92DC

Accessibility & contrast

On white

5.66
#9B3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9B3BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BB8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BB8#FFFFFF#000000##FFFFFF
##9B3BB81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3bb8;
/* rgb */ color: rgb(155, 59, 184);
/* oklch */ color: oklch(53.9% 0.199 317.4);
Tailwind
colors: {
  custom: {
    50: '#bc79ce',
    500: '#9b3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bb8;
$custom-light: #bc79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bb8",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 286.08,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53902,
    "c": 0.1992,
    "h": 317.4
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#9B3BB8
secondary
#96C788
accent
#DB4D6E
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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