#9B34AF#9B34AF

#9B34AF is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.200 H 320.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9B34AF
RGBrgb(155, 52, 175)
HSLhsl(290, 54%, 45%)
HSVhsv(290, 70%, 69%)
CMYKcmyk(11.4%, 70.3%, 0%, 31.4%)
CIE-LABlab(42.03, 59.08, -45.28)
CIE-LCHlch(42.03, 74.44, 322.53°)
OKLaboklab(52.61% 0.1545 -0.1267)
OKLCHoklch(52.61% 0.2 320.7)
XYZxyz(22.4825, 12.5208, 41.7817)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34AF #48AF34
analogous
#5E34AF #9B34AF #AF3486
triadic
#9B34AF #AF9B34 #34AF9B
tetradic
#9B34AF #AF5E34 #48AF34 #3486AF
square
#9B34AF #AF5E34 #48AF34 #3486AF
split-complementary
#9B34AF #86AF34 #34AF5E
monochromatic
#471851 #712680 #9B34AF #B954CC #CC83DA

Accessibility & contrast

On white

5.99
#9B34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B34AF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34AF#FFFFFF#000000##FFFFFF
##9B34AF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#9C4B6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b34af;
/* rgb */ color: rgb(155, 52, 175);
/* oklch */ color: oklch(52.6% 0.200 320.7);
Tailwind
colors: {
  custom: {
    50: '#bc75c7',
    500: '#9b34af',
    950: '#000000',
  },
}
SCSS
$custom: #9b34af;
$custom-light: #bc75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34af",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 290.244,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.19978,
    "h": 320.7
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#9B34AF
secondary
#87C47B
accent
#DE4A62
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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