#9B34AB#9B34AB

#9B34AB is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.196 H 322.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9B34AB
RGBrgb(155, 52, 171)
HSLhsl(292, 53%, 44%)
HSVhsv(292, 70%, 67%)
CMYKcmyk(9.4%, 69.6%, 0%, 32.9%)
CIE-LABlab(41.79, 58.34, -43.29)
CIE-LCHlch(41.79, 72.64, 323.42°)
OKLaboklab(52.36% 0.1547 -0.1208)
OKLCHoklch(52.36% 0.196 322)
XYZxyz(22.0955, 12.3660, 39.7432)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34AB #44AB34
analogous
#5F34AB #9B34AB #AB347F
triadic
#9B34AB #AB9B34 #34AB9B
tetradic
#9B34AB #AB5F34 #44AB34 #347FAB
square
#9B34AB #AB5F34 #44AB34 #347FAB
split-complementary
#9B34AB #7FAB34 #34AB5F
monochromatic
#46174D #70267C #9B34AB #BA52CA #CD81D9

Accessibility & contrast

On white

6.05
#9B34AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9B34AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34AB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34AB#FFFFFF#000000##FFFFFF
##9B34AB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095BAE
Deuteranopia (green-blind)
#4466A8
Tritanopia (blue-blind)
#9D496C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b34ab;
/* rgb */ color: rgb(155, 52, 171);
/* oklch */ color: oklch(52.4% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#bc75c4',
    500: '#9b34ab',
    950: '#000000',
  },
}
SCSS
$custom: #9b34ab;
$custom-light: #bc75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34ab",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 291.933,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.19627,
    "h": 322
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#9B34AB
secondary
#83C279
accent
#DD4B5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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