#9B39B1#9B39B1

#9B39B1 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.2% C 0.195 H 319.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9B39B1
RGBrgb(155, 57, 177)
HSLhsl(289, 51%, 46%)
HSVhsv(289, 68%, 69%)
CMYKcmyk(12.4%, 67.8%, 0%, 30.6%)
CIE-LABlab(42.87, 57.45, -45.13)
CIE-LCHlch(42.87, 73.05, 321.85°)
OKLaboklab(53.25% 0.149 -0.1262)
OKLCHoklch(53.25% 0.195 319.7)
XYZxyz(22.9155, 13.0702, 42.9022)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39B1 #4FB139
analogous
#5F39B1 #9B39B1 #B1398B
triadic
#9B39B1 #B19B39 #39B19B
tetradic
#9B39B1 #B15F39 #4FB139 #398BB1
square
#9B39B1 #B15F39 #4FB139 #398BB1
split-complementary
#9B39B1 #8BB139 #39B15F
monochromatic
#4A1B54 #722A83 #9B39B1 #B65DCB #CB8BDA

Accessibility & contrast

On white

5.81
#9B39B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B39B1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39B1#FFFFFF#000000##FFFFFF
##9B39B11.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB5
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#9B4F70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b39b1;
/* rgb */ color: rgb(155, 57, 177);
/* oklch */ color: oklch(53.2% 0.195 319.7);
Tailwind
colors: {
  custom: {
    50: '#bc77c9',
    500: '#9b39b1',
    950: '#000000',
  },
}
SCSS
$custom: #9b39b1;
$custom-light: #bc77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39b1",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 289,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.19533,
    "h": 319.7
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#9B39B1
secondary
#8EC482
accent
#DB4D67
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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