#9B34AE#9B34AE

#9B34AE is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.199 H 321.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B34AE
RGBrgb(155, 52, 174)
HSLhsl(291, 54%, 44%)
HSVhsv(291, 70%, 68%)
CMYKcmyk(10.9%, 70.1%, 0%, 31.8%)
CIE-LABlab(41.97, 58.90, -44.78)
CIE-LCHlch(41.97, 73.99, 322.75°)
OKLaboklab(52.54% 0.1545 -0.1252)
OKLCHoklch(52.54% 0.199 321)
XYZxyz(22.3847, 12.4817, 41.2663)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34AE #47AE34
analogous
#5E34AE #9B34AE #AE3484
triadic
#9B34AE #AE9B34 #34AE9B
tetradic
#9B34AE #AE5E34 #47AE34 #3484AE
square
#9B34AE #AE5E34 #47AE34 #3484AE
split-complementary
#9B34AE #84AE34 #34AE5E
monochromatic
#471850 #71267F #9B34AE #B953CC #CC83DA

Accessibility & contrast

On white

6.01
#9B34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9B34AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34AE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34AE#FFFFFF#000000##FFFFFF
##9B34AE1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#9C4A6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b34ae;
/* rgb */ color: rgb(155, 52, 174);
/* oklch */ color: oklch(52.5% 0.199 321.0);
Tailwind
colors: {
  custom: {
    50: '#bc75c7',
    500: '#9b34ae',
    950: '#000000',
  },
}
SCSS
$custom: #9b34ae;
$custom-light: #bc75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34ae",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 290.656,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.1989,
    "h": 321
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#9B34AE
secondary
#86C37B
accent
#DD4A61
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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