#9B34BE#9B34BE

#9B34BE is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.213 H 316.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9B34BE
RGBrgb(155, 52, 190)
HSLhsl(285, 57%, 47%)
HSVhsv(285, 73%, 75%)
CMYKcmyk(18.4%, 72.6%, 0%, 25.5%)
CIE-LABlab(42.98, 61.98, -52.59)
CIE-LCHlch(42.98, 81.29, 319.69°)
OKLaboklab(53.58% 0.1533 -0.1481)
OKLCHoklch(53.58% 0.213 316)
XYZxyz(24.0384, 13.1432, 49.9759)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34BE #57BE34
analogous
#5634BE #9B34BE #BE349C
triadic
#9B34BE #BE9B34 #34BE9B
tetradic
#9B34BE #BE5634 #57BE34 #349CBE
square
#9B34BE #BE5634 #57BE34 #349CBE
split-complementary
#9B34BE #9CBE34 #34BE56
monochromatic
#4D1A5E #74278E #9B34BE #B55DD3 #CB8DE0

Accessibility & contrast

On white

5.79
#9B34BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9B34BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34BE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34BE#FFFFFF#000000##FFFFFF
##9B34BE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#3368BB
Tritanopia (blue-blind)
#995176
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b34be;
/* rgb */ color: rgb(155, 52, 190);
/* oklch */ color: oklch(53.6% 0.213 316.0);
Tailwind
colors: {
  custom: {
    50: '#bd75d2',
    500: '#9b34be',
    950: '#000000',
  },
}
SCSS
$custom: #9b34be;
$custom-light: #bd75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34be",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 284.783,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.21313,
    "h": 316
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#9B34BE
secondary
#96CA84
accent
#E0486E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9B34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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