#9B34AA#9B34AA

#9B34AA is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.195 H 322.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9B34AA
RGBrgb(155, 52, 170)
HSLhsl(292, 53%, 44%)
HSVhsv(292, 69%, 67%)
CMYKcmyk(8.8%, 69.4%, 0%, 33.3%)
CIE-LABlab(41.73, 58.15, -42.79)
CIE-LCHlch(41.73, 72.20, 323.65°)
OKLaboklab(52.3% 0.1547 -0.1194)
OKLCHoklch(52.3% 0.195 322.3)
XYZxyz(22.0005, 12.3280, 39.2431)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34AA #43AA34
analogous
#6034AA #9B34AA #AA347E
triadic
#9B34AA #AA9B34 #34AA9B
tetradic
#9B34AA #AA6034 #43AA34 #347EAA
square
#9B34AA #AA6034 #43AA34 #347EAA
split-complementary
#9B34AA #7EAA34 #34AA60
monochromatic
#46174C #70267B #9B34AA #BB51CA #CD80D8

Accessibility & contrast

On white

6.06
#9B34AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B34AA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34AA#FFFFFF#000000##FFFFFF
##9B34AA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5BAD
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#9D486B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b34aa;
/* rgb */ color: rgb(155, 52, 170);
/* oklch */ color: oklch(52.3% 0.195 322.3);
Tailwind
colors: {
  custom: {
    50: '#bc75c4',
    500: '#9b34aa',
    950: '#000000',
  },
}
SCSS
$custom: #9b34aa;
$custom-light: #bc75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34aa",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 292.373,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.1954,
    "h": 322.3
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#9B34AA
secondary
#82C178
accent
#DD4B5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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