#9C4ABA#9C4ABA

#9C4ABA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.181 H 316.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C4ABA
RGBrgb(156, 74, 186)
HSLhsl(284, 45%, 51%)
HSVhsv(284, 60%, 73%)
CMYKcmyk(16.1%, 60.2%, 0%, 27.1%)
CIE-LABlab(46.33, 51.80, -44.88)
CIE-LCHlch(46.33, 68.54, 319.09°)
OKLaboklab(55.94% 0.13 -0.1256)
OKLCHoklch(55.94% 0.181 316)
XYZxyz(25.0206, 15.5115, 48.1209)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4ABA #68BA4A
analogous
#644ABA #9C4ABA #BA4AA0
triadic
#9C4ABA #BA9C4A #4ABA9C
tetradic
#9C4ABA #BA644A #68BA4A #4AA0BA
square
#9C4ABA #BA644A #68BA4A #4AA0BA
split-complementary
#9C4ABA #A0BA4A #4ABA64
monochromatic
#532664 #783790 #9C4ABA #B476CB #CCA3DC

Accessibility & contrast

On white

5.12
#9C4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9C4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4ABA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4ABA#FFFFFF#000000##FFFFFF
##9C4ABA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#9A5D7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c4aba;
/* rgb */ color: rgb(156, 74, 186);
/* oklch */ color: oklch(55.9% 0.181 316.0);
Tailwind
colors: {
  custom: {
    50: '#bc81cf',
    500: '#9c4aba',
    950: '#000000',
  },
}
SCSS
$custom: #9c4aba;
$custom-light: #bc81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4aba",
  "rgb": {
    "r": 156,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 283.929,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.18078,
    "h": 316
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#9C4ABA
secondary
#A4C997
accent
#D55376
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9C4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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