#9C3AAE#9C3AAE

#9C3AAE is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.3% C 0.192 H 321.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9C3AAE
RGBrgb(156, 58, 174)
HSLhsl(291, 50%, 45%)
HSVhsv(291, 67%, 68%)
CMYKcmyk(10.3%, 66.7%, 0%, 31.8%)
CIE-LABlab(42.99, 56.69, -43.15)
CIE-LCHlch(42.99, 71.24, 322.72°)
OKLaboklab(53.31% 0.1492 -0.1204)
OKLCHoklch(53.31% 0.192 321.1)
XYZxyz(22.8625, 13.1512, 41.3704)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3AAE #4CAE3A
analogous
#623AAE #9C3AAE #AE3A86
triadic
#9C3AAE #AE9C3A #3AAE9C
tetradic
#9C3AAE #AE623A #4CAE3A #3A86AE
square
#9C3AAE #AE623A #4CAE3A #3A86AE
split-complementary
#9C3AAE #86AE3A #3AAE62
monochromatic
#4A1B52 #732B80 #9C3AAE #B85CC9 #CC8AD8

Accessibility & contrast

On white

5.79
#9C3AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9C3AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3AAE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3AAE#FFFFFF#000000##FFFFFF
##9C3AAE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB1
Deuteranopia (green-blind)
#4669AB
Tritanopia (blue-blind)
#9D4E6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c3aae;
/* rgb */ color: rgb(156, 58, 174);
/* oklch */ color: oklch(53.3% 0.192 321.1);
Tailwind
colors: {
  custom: {
    50: '#bc78c7',
    500: '#9c3aae',
    950: '#000000',
  },
}
SCSS
$custom: #9c3aae;
$custom-light: #bc78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3aae",
  "rgb": {
    "r": 156,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 290.69,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.19174,
    "h": 321.1
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#9C3AAE
secondary
#8BC281
accent
#DA4E64
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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