#9C3AB2#9C3AB2

#9C3AB2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.195 H 319.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9C3AB2
RGBrgb(156, 58, 178)
HSLhsl(289, 51%, 46%)
HSVhsv(289, 67%, 70%)
CMYKcmyk(12.4%, 67.4%, 0%, 30.2%)
CIE-LABlab(43.23, 57.46, -45.14)
CIE-LCHlch(43.23, 73.06, 321.85°)
OKLaboklab(53.55% 0.1491 -0.1263)
OKLCHoklch(53.55% 0.195 319.7)
XYZxyz(23.2582, 13.3095, 43.4547)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3AB2 #50B23A
analogous
#603AB2 #9C3AB2 #B23A8C
triadic
#9C3AB2 #B29C3A #3AB29C
tetradic
#9C3AB2 #B2603A #50B23A #3A8CB2
square
#9C3AB2 #B2603A #50B23A #3A8CB2
split-complementary
#9C3AB2 #8CB23A #3AB260
monochromatic
#4B1C56 #742B84 #9C3AB2 #B75FCB #CC8DDA

Accessibility & contrast

On white

5.74
#9C3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C3AB2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3AB2#FFFFFF#000000##FFFFFF
##9C3AB21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB6
Deuteranopia (green-blind)
#4469AF
Tritanopia (blue-blind)
#9C4F71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c3ab2;
/* rgb */ color: rgb(156, 58, 178);
/* oklch */ color: oklch(53.6% 0.195 319.7);
Tailwind
colors: {
  custom: {
    50: '#bd78c9',
    500: '#9c3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ab2;
$custom-light: #bd78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ab2",
  "rgb": {
    "r": 156,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 289,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.19539,
    "h": 319.7
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#9C3AB2
secondary
#8FC483
accent
#DA4D67
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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