#9C3ABB#9C3ABB

#9C3ABB is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.1% C 0.204 H 316.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9C3ABB
RGBrgb(156, 58, 187)
HSLhsl(286, 53%, 48%)
HSVhsv(286, 69%, 73%)
CMYKcmyk(16.6%, 69%, 0%, 26.7%)
CIE-LABlab(43.77, 59.22, -49.55)
CIE-LCHlch(43.77, 77.21, 320.08°)
OKLaboklab(54.12% 0.1487 -0.1392)
OKLCHoklch(54.12% 0.204 316.9)
XYZxyz(24.1917, 13.6829, 48.3708)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ABB #59BB3A
analogous
#5B3ABB #9C3ABB #BB3A9A
triadic
#9C3ABB #BB9C3A #3ABB9C
tetradic
#9C3ABB #BB5B3A #59BB3A #3A9ABB
square
#9C3ABB #BB5B3A #59BB3A #3A9ABB
split-complementary
#9C3ABB #9ABB3A #3ABB5B
monochromatic
#4E1D5E #752C8C #9C3ABB #B563CF #CB92DD

Accessibility & contrast

On white

5.62
#9C3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9C3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ABB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ABB#FFFFFF#000000##FFFFFF
##9C3ABB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#9A5376
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c3abb;
/* rgb */ color: rgb(156, 58, 187);
/* oklch */ color: oklch(54.1% 0.204 316.9);
Tailwind
colors: {
  custom: {
    50: '#bd78d0',
    500: '#9c3abb',
    950: '#000000',
  },
}
SCSS
$custom: #9c3abb;
$custom-light: #bd78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3abb",
  "rgb": {
    "r": 156,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 285.581,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.20365,
    "h": 316.9
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#9C3ABB
secondary
#98C888
accent
#DC4C6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9C3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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