#9B34AD#9B34AD

#9B34AD is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.198 H 321.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9B34AD
RGBrgb(155, 52, 173)
HSLhsl(291, 54%, 44%)
HSVhsv(291, 70%, 68%)
CMYKcmyk(10.4%, 69.9%, 0%, 32.2%)
CIE-LABlab(41.91, 58.71, -44.29)
CIE-LCHlch(41.91, 73.54, 322.97°)
OKLaboklab(52.48% 0.1546 -0.1238)
OKLCHoklch(52.48% 0.198 321.3)
XYZxyz(22.2875, 12.4429, 40.7548)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34AD #46AD34
analogous
#5E34AD #9B34AD #AD3483
triadic
#9B34AD #AD9B34 #34AD9B
tetradic
#9B34AD #AD5E34 #46AD34 #3483AD
square
#9B34AD #AD5E34 #46AD34 #3483AD
split-complementary
#9B34AD #83AD34 #34AD5E
monochromatic
#47184F #71267E #9B34AD #B953CB #CC82D9

Accessibility & contrast

On white

6.02
#9B34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9B34AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34AD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34AD#FFFFFF#000000##FFFFFF
##9B34AD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015CB0
Deuteranopia (green-blind)
#4267AA
Tritanopia (blue-blind)
#9C4A6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b34ad;
/* rgb */ color: rgb(155, 52, 173);
/* oklch */ color: oklch(52.5% 0.198 321.3);
Tailwind
colors: {
  custom: {
    50: '#bc75c6',
    500: '#9b34ad',
    950: '#000000',
  },
}
SCSS
$custom: #9b34ad;
$custom-light: #bc75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34ad",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 291.074,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.19802,
    "h": 321.3
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#9B34AD
secondary
#85C37A
accent
#DD4B60
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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