#9B39BB#9B39BB

#9B39BB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.204 H 316.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9B39BB
RGBrgb(155, 57, 187)
HSLhsl(285, 53%, 48%)
HSVhsv(285, 70%, 73%)
CMYKcmyk(17.1%, 69.5%, 0%, 26.7%)
CIE-LABlab(43.48, 59.41, -50.02)
CIE-LCHlch(43.48, 77.67, 319.90°)
OKLaboklab(53.88% 0.1485 -0.1406)
OKLCHoklch(53.88% 0.204 316.6)
XYZxyz(23.9490, 13.4836, 48.3451)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39BB #59BB39
analogous
#5A39BB #9B39BB #BB399A
triadic
#9B39BB #BB9B39 #39BB9B
tetradic
#9B39BB #BB5A39 #59BB39 #399ABB
square
#9B39BB #BB5A39 #59BB39 #399ABB
split-complementary
#9B39BB #9ABB39 #39BB5A
monochromatic
#4D1C5D #742B8C #9B39BB #B462CF #CB91DD

Accessibility & contrast

On white

5.68
#9B39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9B39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39BB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39BB#FFFFFF#000000##FFFFFF
##9B39BB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#995376
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b39bb;
/* rgb */ color: rgb(155, 57, 187);
/* oklch */ color: oklch(53.9% 0.204 316.6);
Tailwind
colors: {
  custom: {
    50: '#bc78d0',
    500: '#9b39bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b39bb;
$custom-light: #bc78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39bb",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 285.231,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.20449,
    "h": 316.6
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#9B39BB
secondary
#97C887
accent
#DD4B6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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