#9B34BA#9B34BA

#9B34BA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.210 H 317.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9B34BA
RGBrgb(155, 52, 186)
HSLhsl(286, 56%, 47%)
HSVhsv(286, 72%, 73%)
CMYKcmyk(16.7%, 72%, 0%, 27.1%)
CIE-LABlab(42.72, 61.20, -50.66)
CIE-LCHlch(42.72, 79.45, 320.38°)
OKLaboklab(53.32% 0.1537 -0.1424)
OKLCHoklch(53.32% 0.21 317.2)
XYZxyz(23.6072, 12.9707, 47.7049)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34BA #53BA34
analogous
#5834BA #9B34BA #BA3496
triadic
#9B34BA #BA9B34 #34BA9B
tetradic
#9B34BA #BA5834 #53BA34 #3496BA
square
#9B34BA #BA5834 #53BA34 #3496BA
split-complementary
#9B34BA #96BA34 #34BA58
monochromatic
#4B195A #73278A #9B34BA #B55AD1 #CB8ADE

Accessibility & contrast

On white

5.84
#9B34BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9B34BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34BA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34BA#FFFFFF#000000##FFFFFF
##9B34BA1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#9A4F74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b34ba;
/* rgb */ color: rgb(155, 52, 186);
/* oklch */ color: oklch(53.3% 0.210 317.2);
Tailwind
colors: {
  custom: {
    50: '#bc75cf',
    500: '#9b34ba',
    950: '#000000',
  },
}
SCSS
$custom: #9b34ba;
$custom-light: #bc75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34ba",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 286.119,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.20955,
    "h": 317.2
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#9B34BA
secondary
#92C881
accent
#E0486B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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