#9C3ABA#9C3ABA

#9C3ABA is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.203 H 317.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9C3ABA
RGBrgb(156, 58, 186)
HSLhsl(286, 52%, 48%)
HSVhsv(286, 69%, 73%)
CMYKcmyk(16.1%, 68.8%, 0%, 27.1%)
CIE-LABlab(43.71, 59.02, -49.06)
CIE-LCHlch(43.71, 76.75, 320.27°)
OKLaboklab(54.06% 0.1488 -0.1377)
OKLCHoklch(54.06% 0.203 317.2)
XYZxyz(24.0850, 13.6402, 47.8090)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ABA #58BA3A
analogous
#5C3ABA #9C3ABA #BA3A98
triadic
#9C3ABA #BA9C3A #3ABA9C
tetradic
#9C3ABA #BA5C3A #58BA3A #3A98BA
square
#9C3ABA #BA5C3A #58BA3A #3A98BA
split-complementary
#9C3ABA #98BA3A #3ABA5C
monochromatic
#4E1D5D #752B8B #9C3ABA #B563CE #CB92DD

Accessibility & contrast

On white

5.63
#9C3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9C3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ABA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ABA#FFFFFF#000000##FFFFFF
##9C3ABA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#9B5376
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c3aba;
/* rgb */ color: rgb(156, 58, 186);
/* oklch */ color: oklch(54.1% 0.203 317.2);
Tailwind
colors: {
  custom: {
    50: '#bd78cf',
    500: '#9c3aba',
    950: '#000000',
  },
}
SCSS
$custom: #9c3aba;
$custom-light: #bd78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3aba",
  "rgb": {
    "r": 156,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 285.938,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54057,
    "c": 0.20272,
    "h": 317.2
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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