#9B34BD#9B34BD

#9B34BD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.212 H 316.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9B34BD
RGBrgb(155, 52, 189)
HSLhsl(285, 57%, 47%)
HSVhsv(285, 72%, 74%)
CMYKcmyk(18%, 72.5%, 0%, 25.9%)
CIE-LABlab(42.91, 61.78, -52.11)
CIE-LCHlch(42.91, 80.83, 319.86°)
OKLaboklab(53.52% 0.1534 -0.1467)
OKLCHoklch(53.52% 0.212 316.3)
XYZxyz(23.9295, 13.0996, 49.4022)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34BD #56BD34
analogous
#5634BD #9B34BD #BD349B
triadic
#9B34BD #BD9B34 #34BD9B
tetradic
#9B34BD #BD5634 #56BD34 #349BBD
square
#9B34BD #BD5634 #56BD34 #349BBD
split-complementary
#9B34BD #9BBD34 #34BD56
monochromatic
#4C1A5D #74278D #9B34BD #B55CD2 #CB8CDF

Accessibility & contrast

On white

5.80
#9B34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9B34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34BD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34BD#FFFFFF#000000##FFFFFF
##9B34BD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#995176
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b34bd;
/* rgb */ color: rgb(155, 52, 189);
/* oklch */ color: oklch(53.5% 0.212 316.3);
Tailwind
colors: {
  custom: {
    50: '#bd75d2',
    500: '#9b34bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b34bd;
$custom-light: #bd75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34bd",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 285.109,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.21224,
    "h": 316.3
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#9B34BD
secondary
#95CA83
accent
#E0486E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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