#9B3CAB#9B3CAB

#9B3CAB is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.2% C 0.186 H 321.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9B3CAB
RGBrgb(155, 60, 171)
HSLhsl(291, 48%, 45%)
HSVhsv(291, 65%, 67%)
CMYKcmyk(9.4%, 64.9%, 0%, 32.9%)
CIE-LABlab(42.98, 55.02, -41.40)
CIE-LCHlch(42.98, 68.86, 323.04°)
OKLaboklab(53.21% 0.1457 -0.1154)
OKLCHoklch(53.21% 0.186 321.6)
XYZxyz(22.4833, 13.1417, 39.8725)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CAB #4CAB3C
analogous
#633CAB #9B3CAB #AB3C84
triadic
#9B3CAB #AB9B3C #3CAB9B
tetradic
#9B3CAB #AB633C #4CAB3C #3C84AB
square
#9B3CAB #AB633C #4CAB3C #3C84AB
split-complementary
#9B3CAB #84AB3C #3CAB63
monochromatic
#491C50 #722C7E #9B3CAB #B75EC6 #CB8BD6

Accessibility & contrast

On white

5.79
#9B3CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9B3CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CAB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CAB#FFFFFF#000000##FFFFFF
##9B3CAB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAE
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#9D4E6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b3cab;
/* rgb */ color: rgb(155, 60, 171);
/* oklch */ color: oklch(53.2% 0.186 321.6);
Tailwind
colors: {
  custom: {
    50: '#bc79c4',
    500: '#9b3cab',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cab;
$custom-light: #bc79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cab",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 291.351,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.18586,
    "h": 321.6
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#9B3CAB
secondary
#8BC182
accent
#D85064
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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