#9B3BB6#9B3BB6

#9B3BB6 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.197 H 318.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9B3BB6
RGBrgb(155, 59, 182)
HSLhsl(287, 51%, 47%)
HSVhsv(287, 68%, 71%)
CMYKcmyk(14.8%, 67.6%, 0%, 28.6%)
CIE-LABlab(43.47, 57.59, -47.11)
CIE-LCHlch(43.47, 74.40, 320.72°)
OKLaboklab(53.77% 0.1467 -0.1321)
OKLCHoklch(53.77% 0.197 318)
XYZxyz(23.5239, 13.4749, 45.6087)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BB6 #56B63B
analogous
#5D3BB6 #9B3BB6 #B63B94
triadic
#9B3BB6 #B69B3B #3BB69B
tetradic
#9B3BB6 #B65D3B #56B63B #3B94B6
square
#9B3BB6 #B65D3B #56B63B #3B94B6
split-complementary
#9B3BB6 #94B63B #3BB65D
monochromatic
#4C1D5A #742C88 #9B3BB6 #B562CC #CB90DB

Accessibility & contrast

On white

5.68
#9B3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3BB6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BB6#FFFFFF#000000##FFFFFF
##9B3BB61.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#9A5274
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3bb6;
/* rgb */ color: rgb(155, 59, 182);
/* oklch */ color: oklch(53.8% 0.197 318.0);
Tailwind
colors: {
  custom: {
    50: '#bc78cc',
    500: '#9b3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bb6;
$custom-light: #bc78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bb6",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 286.829,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.19735,
    "h": 318
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#9B3BB6
secondary
#95C687
accent
#DB4D6C
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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