#9B34BF#9B34BF

#9B34BF is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.214 H 315.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9B34BF
RGBrgb(155, 52, 191)
HSLhsl(284, 57%, 48%)
HSVhsv(284, 73%, 75%)
CMYKcmyk(18.8%, 72.8%, 0%, 25.1%)
CIE-LABlab(43.04, 62.18, -53.07)
CIE-LCHlch(43.04, 81.75, 319.52°)
OKLaboklab(53.65% 0.1532 -0.1495)
OKLCHoklch(53.65% 0.214 315.7)
XYZxyz(24.1480, 13.1871, 50.5534)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34BF #58BF34
analogous
#5534BF #9B34BF #BF349E
triadic
#9B34BF #BF9B34 #34BF9B
tetradic
#9B34BF #BF5534 #58BF34 #349EBF
square
#9B34BF #BF5534 #58BF34 #349EBF
split-complementary
#9B34BF #9EBF34 #34BF55
monochromatic
#4D1A5F #74278F #9B34BF #B45DD3 #CB8DE0

Accessibility & contrast

On white

5.77
#9B34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9B34BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34BF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34BF#FFFFFF#000000##FFFFFF
##9B34BF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#985177
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b34bf;
/* rgb */ color: rgb(155, 52, 191);
/* oklch */ color: oklch(53.7% 0.214 315.7);
Tailwind
colors: {
  custom: {
    50: '#bd75d3',
    500: '#9b34bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b34bf;
$custom-light: #bd75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34bf",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 284.46,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.21403,
    "h": 315.7
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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