#9B3BB7#9B3BB7

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

Color values

HEX#9B3BB7
RGBrgb(155, 59, 183)
HSLhsl(286, 51%, 47%)
HSVhsv(286, 68%, 72%)
CMYKcmyk(15.3%, 67.8%, 0%, 28.2%)
CIE-LABlab(43.53, 57.79, -47.60)
CIE-LCHlch(43.53, 74.87, 320.52°)
OKLaboklab(53.84% 0.1466 -0.1335)
OKLCHoklch(53.84% 0.198 317.7)
XYZxyz(23.6276, 13.5164, 46.1549)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BB7 #57B73B
analogous
#5D3BB7 #9B3BB7 #B73B95
triadic
#9B3BB7 #B79B3B #3BB79B
tetradic
#9B3BB7 #B75D3B #57B73B #3B95B7
square
#9B3BB7 #B75D3B #57B73B #3B95B7
split-complementary
#9B3BB7 #95B73B #3BB75D
monochromatic
#4D1D5A #742C89 #9B3BB7 #B563CD #CB91DC

Accessibility & contrast

On white

5.67
#9B3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9B3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BB7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BB7#FFFFFF#000000##FFFFFF
##9B3BB71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#9A5274
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3bb7;
/* rgb */ color: rgb(155, 59, 183);
/* oklch */ color: oklch(53.8% 0.198 317.7);
Tailwind
colors: {
  custom: {
    50: '#bc78cd',
    500: '#9b3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bb7;
$custom-light: #bc78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bb7",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 286.452,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.19827,
    "h": 317.7
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#9B3BB7
secondary
#96C687
accent
#DB4D6D
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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