#9B39BA#9B39BA

#9B39BA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.204 H 316.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9B39BA
RGBrgb(155, 57, 186)
HSLhsl(286, 53%, 48%)
HSVhsv(286, 69%, 73%)
CMYKcmyk(16.7%, 69.4%, 0%, 27.1%)
CIE-LABlab(43.42, 59.21, -49.54)
CIE-LCHlch(43.42, 77.20, 320.08°)
OKLaboklab(53.82% 0.1486 -0.1391)
OKLCHoklch(53.82% 0.204 316.9)
XYZxyz(23.8423, 13.4410, 47.7833)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39BA #58BA39
analogous
#5A39BA #9B39BA #BA3999
triadic
#9B39BA #BA9B39 #39BA9B
tetradic
#9B39BA #BA5A39 #58BA39 #3999BA
square
#9B39BA #BA5A39 #58BA39 #3999BA
split-complementary
#9B39BA #99BA39 #39BA5A
monochromatic
#4D1C5C #742B8B #9B39BA #B461CF #CB90DD

Accessibility & contrast

On white

5.69
#9B39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9B39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39BA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39BA#FFFFFF#000000##FFFFFF
##9B39BA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#995275
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b39ba;
/* rgb */ color: rgb(155, 57, 186);
/* oklch */ color: oklch(53.8% 0.204 316.9);
Tailwind
colors: {
  custom: {
    50: '#bc78cf',
    500: '#9b39ba',
    950: '#000000',
  },
}
SCSS
$custom: #9b39ba;
$custom-light: #bc78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39ba",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 285.581,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.20357,
    "h": 316.9
  },
  "luminance": 0.1344
}

Semantic roles & 50–950 ramp

primary
#9B39BA
secondary
#96C887
accent
#DC4B6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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