#9C3AAA#9C3AAA

#9C3AAA is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.188 H 322.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9C3AAA
RGBrgb(156, 58, 170)
HSLhsl(293, 49%, 45%)
HSVhsv(293, 66%, 67%)
CMYKcmyk(8.2%, 65.9%, 0%, 33.3%)
CIE-LABlab(42.76, 55.93, -41.15)
CIE-LCHlch(42.76, 69.44, 323.66°)
OKLaboklab(53.07% 0.1492 -0.1146)
OKLCHoklch(53.07% 0.188 322.5)
XYZxyz(22.4783, 12.9975, 39.3472)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3AAA #48AA3A
analogous
#643AAA #9C3AAA #AA3A80
triadic
#9C3AAA #AA9C3A #3AAA9C
tetradic
#9C3AAA #AA643A #48AA3A #3A80AA
square
#9C3AAA #AA643A #48AA3A #3A80AA
split-complementary
#9C3AAA #80AA3A #3AAA64
monochromatic
#481B4F #722A7C #9C3AAA #B95AC7 #CD88D6

Accessibility & contrast

On white

5.83
#9C3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9C3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3AAA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3AAA#FFFFFF#000000##FFFFFF
##9C3AAA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAD
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#9E4C6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c3aaa;
/* rgb */ color: rgb(156, 58, 170);
/* oklch */ color: oklch(53.1% 0.188 322.5);
Tailwind
colors: {
  custom: {
    50: '#bc78c4',
    500: '#9c3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9c3aaa;
$custom-light: #bc78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3aaa",
  "rgb": {
    "r": 156,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 292.5,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.18814,
    "h": 322.5
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#9C3AAA
secondary
#87C17F
accent
#D94F60
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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