#9C3BB7#9C3BB7

#9C3BB7 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.199 H 318.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9C3BB7
RGBrgb(156, 59, 183)
HSLhsl(287, 51%, 47%)
HSVhsv(287, 68%, 72%)
CMYKcmyk(14.8%, 67.8%, 0%, 28.2%)
CIE-LABlab(43.68, 58.01, -47.36)
CIE-LCHlch(43.68, 74.89, 320.77°)
OKLaboklab(53.97% 0.1478 -0.1328)
OKLCHoklch(53.97% 0.199 318.1)
XYZxyz(23.8203, 13.6158, 46.1639)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3BB7 #56B73B
analogous
#5E3BB7 #9C3BB7 #B73B94
triadic
#9C3BB7 #B79C3B #3BB79C
tetradic
#9C3BB7 #B75E3B #56B73B #3B94B7
square
#9C3BB7 #B75E3B #56B73B #3B94B7
split-complementary
#9C3BB7 #94B73B #3BB75E
monochromatic
#4D1D5A #752C89 #9C3BB7 #B663CD #CB91DC

Accessibility & contrast

On white

5.64
#9C3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9C3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3BB7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3BB7#FFFFFF#000000##FFFFFF
##9C3BB71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#406AB4
Tritanopia (blue-blind)
#9B5274
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c3bb7;
/* rgb */ color: rgb(156, 59, 183);
/* oklch */ color: oklch(54.0% 0.199 318.1);
Tailwind
colors: {
  custom: {
    50: '#bd79cd',
    500: '#9c3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9c3bb7;
$custom-light: #bd79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3bb7",
  "rgb": {
    "r": 156,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 286.935,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.19869,
    "h": 318.1
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#9C3BB7
secondary
#95C687
accent
#DB4D6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9C3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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