#9B34AC#9B34AC

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

Color values

HEX#9B34AC
RGBrgb(155, 52, 172)
HSLhsl(292, 54%, 44%)
HSVhsv(292, 70%, 67%)
CMYKcmyk(9.9%, 69.8%, 0%, 32.5%)
CIE-LABlab(41.85, 58.52, -43.79)
CIE-LCHlch(41.85, 73.09, 323.19°)
OKLaboklab(52.42% 0.1546 -0.1223)
OKLCHoklch(52.42% 0.197 321.7)
XYZxyz(22.1911, 12.4043, 40.2471)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34AC #45AC34
analogous
#5F34AC #9B34AC #AC3481
triadic
#9B34AC #AC9B34 #34AC9B
tetradic
#9B34AC #AC5F34 #45AC34 #3481AC
square
#9B34AC #AC5F34 #45AC34 #3481AC
split-complementary
#9B34AC #81AC34 #34AC5F
monochromatic
#46184E #71267D #9B34AC #BA52CB #CD81D9

Accessibility & contrast

On white

6.03
#9B34AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9B34AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34AC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34AC#FFFFFF#000000##FFFFFF
##9B34AC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAF
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#9D496C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b34ac;
/* rgb */ color: rgb(155, 52, 172);
/* oklch */ color: oklch(52.4% 0.197 321.7);
Tailwind
colors: {
  custom: {
    50: '#bc75c5',
    500: '#9b34ac',
    950: '#000000',
  },
}
SCSS
$custom: #9b34ac;
$custom-light: #bc75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34ac",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 291.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.19715,
    "h": 321.7
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#9B34AC
secondary
#84C279
accent
#DD4B60
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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