#9B39B0#9B39B0

#9B39B0 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.194 H 320.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9B39B0
RGBrgb(155, 57, 176)
HSLhsl(289, 51%, 46%)
HSVhsv(289, 68%, 69%)
CMYKcmyk(11.9%, 67.6%, 0%, 31%)
CIE-LABlab(42.81, 57.26, -44.63)
CIE-LCHlch(42.81, 72.60, 322.07°)
OKLaboklab(53.18% 0.1491 -0.1248)
OKLCHoklch(53.18% 0.194 320.1)
XYZxyz(22.8162, 13.0305, 42.3792)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39B0 #4EB039
analogous
#5F39B0 #9B39B0 #B03989
triadic
#9B39B0 #B09B39 #39B09B
tetradic
#9B39B0 #B05F39 #4EB039 #3989B0
square
#9B39B0 #B05F39 #4EB039 #3989B0
split-complementary
#9B39B0 #89B039 #39B05F
monochromatic
#4A1B54 #722A82 #9B39B0 #B75CCA #CB8AD9

Accessibility & contrast

On white

5.82
#9B39B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9B39B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39B0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39B0#FFFFFF#000000##FFFFFF
##9B39B01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB3
Deuteranopia (green-blind)
#4369AD
Tritanopia (blue-blind)
#9C4E70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b39b0;
/* rgb */ color: rgb(155, 57, 176);
/* oklch */ color: oklch(53.2% 0.194 320.1);
Tailwind
colors: {
  custom: {
    50: '#bc77c8',
    500: '#9b39b0',
    950: '#000000',
  },
}
SCSS
$custom: #9b39b0;
$custom-light: #bc77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39b0",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 289.412,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53184,
    "c": 0.19442,
    "h": 320.1
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#9B39B0
secondary
#8DC481
accent
#DB4D66
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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