#9C39B0#9C39B0

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

Color values

HEX#9C39B0
RGBrgb(156, 57, 176)
HSLhsl(290, 51%, 46%)
HSVhsv(290, 68%, 69%)
CMYKcmyk(11.4%, 67.6%, 0%, 31%)
CIE-LABlab(42.96, 57.49, -44.38)
CIE-LCHlch(42.96, 72.63, 322.33°)
OKLaboklab(53.32% 0.1503 -0.124)
OKLCHoklch(53.32% 0.195 320.5)
XYZxyz(23.0090, 13.1299, 42.3882)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39B0 #4DB039
analogous
#6039B0 #9C39B0 #B03988
triadic
#9C39B0 #B09C39 #39B09C
tetradic
#9C39B0 #B06039 #4DB039 #3988B0
square
#9C39B0 #B06039 #4DB039 #3988B0
split-complementary
#9C39B0 #88B039 #39B060
monochromatic
#4A1B54 #732A82 #9C39B0 #B85CCA #CC8AD9

Accessibility & contrast

On white

5.79
#9C39B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9C39B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C39B0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C39B0#FFFFFF#000000##FFFFFF
##9C39B01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5FB3
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#9D4E70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c39b0;
/* rgb */ color: rgb(156, 57, 176);
/* oklch */ color: oklch(53.3% 0.195 320.5);
Tailwind
colors: {
  custom: {
    50: '#bd77c8',
    500: '#9c39b0',
    950: '#000000',
  },
}
SCSS
$custom: #9c39b0;
$custom-light: #bd77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39b0",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 289.916,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.19487,
    "h": 320.5
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#9C39B0
secondary
#8CC481
accent
#DB4D65
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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