#9C4AAA#9C4AAA

#9C4AAA is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.0% C 0.165 H 321.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9C4AAA
RGBrgb(156, 74, 170)
HSLhsl(291, 39%, 48%)
HSVhsv(291, 56%, 67%)
CMYKcmyk(8.2%, 56.5%, 0%, 33.3%)
CIE-LABlab(45.45, 48.55, -36.88)
CIE-LCHlch(45.45, 60.97, 322.78°)
OKLaboklab(55.02% 0.1291 -0.1023)
OKLCHoklch(55.02% 0.165 321.6)
XYZxyz(23.4140, 14.8688, 39.6591)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4AAA #58AA4A
analogous
#6C4AAA #9C4AAA #AA4A88
triadic
#9C4AAA #AA9C4A #4AAA9C
tetradic
#9C4AAA #AA6C4A #58AA4A #4A88AA
square
#9C4AAA #AA6C4A #58AA4A #4A88AA
split-complementary
#9C4AAA #88AA4A #4AAA6C
monochromatic
#4E2555 #75377F #9C4AAA #B570C1 #CB9BD3

Accessibility & contrast

On white

5.28
#9C4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9C4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4AAA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4AAA#FFFFFF#000000##FFFFFF
##9C4AAA1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#546FA7
Tritanopia (blue-blind)
#9E5873
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c4aaa;
/* rgb */ color: rgb(156, 74, 170);
/* oklch */ color: oklch(55.0% 0.165 321.6);
Tailwind
colors: {
  custom: {
    50: '#bc81c4',
    500: '#9c4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9c4aaa;
$custom-light: #bc81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4aaa",
  "rgb": {
    "r": 156,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 291.25,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.16476,
    "h": 321.6
  },
  "luminance": 0.14868
}

Semantic roles & 50–950 ramp

primary
#9C4AAA
secondary
#97C090
accent
#CF596A
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9C4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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