#9B39BD#9B39BD

#9B39BD is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.206 H 316.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9B39BD
RGBrgb(155, 57, 189)
HSLhsl(285, 54%, 48%)
HSVhsv(285, 70%, 74%)
CMYKcmyk(18%, 69.8%, 0%, 25.9%)
CIE-LABlab(43.61, 59.81, -50.99)
CIE-LCHlch(43.61, 78.60, 319.55°)
OKLaboklab(54.01% 0.1484 -0.1434)
OKLCHoklch(54.01% 0.206 316)
XYZxyz(24.1646, 13.5699, 49.4806)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39BD #5BBD39
analogous
#5939BD #9B39BD #BD399D
triadic
#9B39BD #BD9B39 #39BD9B
tetradic
#9B39BD #BD5939 #5BBD39 #399DBD
square
#9B39BD #BD5939 #5BBD39 #399DBD
split-complementary
#9B39BD #9DBD39 #39BD59
monochromatic
#4E1D5F #742B8E #9B39BD #B463D0 #CB92DE

Accessibility & contrast

On white

5.65
#9B39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9B39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39BD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39BD#FFFFFF#000000##FFFFFF
##9B39BD1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#995377
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b39bd;
/* rgb */ color: rgb(155, 57, 189);
/* oklch */ color: oklch(54.0% 0.206 316.0);
Tailwind
colors: {
  custom: {
    50: '#bc78d1',
    500: '#9b39bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b39bd;
$custom-light: #bc78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39bd",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 284.545,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.20634,
    "h": 316
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#9B39BD
secondary
#99C989
accent
#DD4B70
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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