#9B39B7#9B39B7

#9B39B7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.6% C 0.201 H 317.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9B39B7
RGBrgb(155, 57, 183)
HSLhsl(287, 53%, 47%)
HSVhsv(287, 69%, 72%)
CMYKcmyk(15.3%, 68.9%, 0%, 28.2%)
CIE-LABlab(43.23, 58.62, -48.08)
CIE-LCHlch(43.23, 75.81, 320.64°)
OKLaboklab(53.63% 0.1488 -0.1349)
OKLCHoklch(53.63% 0.201 317.8)
XYZxyz(23.5267, 13.3147, 46.1213)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39B7 #55B739
analogous
#5C39B7 #9B39B7 #B73994
triadic
#9B39B7 #B79B39 #39B79B
tetradic
#9B39B7 #B75C39 #55B739 #3994B7
square
#9B39B7 #B75C39 #55B739 #3994B7
split-complementary
#9B39B7 #94B739 #39B75C
monochromatic
#4C1C5A #732A88 #9B39B7 #B560CD #CB8EDC

Accessibility & contrast

On white

5.73
#9B39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9B39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39B7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39B7#FFFFFF#000000##FFFFFF
##9B39B71.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#9A5174
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b39b7;
/* rgb */ color: rgb(155, 57, 183);
/* oklch */ color: oklch(53.6% 0.201 317.8);
Tailwind
colors: {
  custom: {
    50: '#bc77cd',
    500: '#9b39b7',
    950: '#000000',
  },
}
SCSS
$custom: #9b39b7;
$custom-light: #bc77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39b7",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 286.667,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.20081,
    "h": 317.8
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#9B39B7
secondary
#94C785
accent
#DC4C6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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