#9C3AA2#9C3AA2

#9C3AA2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.181 H 325.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9C3AA2
RGBrgb(156, 58, 162)
HSLhsl(297, 47%, 43%)
HSVhsv(297, 64%, 64%)
CMYKcmyk(3.7%, 64.2%, 0%, 36.5%)
CIE-LABlab(42.31, 54.45, -37.09)
CIE-LCHlch(42.31, 65.88, 325.74°)
OKLaboklab(52.6% 0.149 -0.1028)
OKLCHoklch(52.6% 0.181 325.4)
XYZxyz(21.7445, 12.7040, 35.4822)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3AA2 #40A23A
analogous
#683AA2 #9C3AA2 #A23A74
triadic
#9C3AA2 #A29C3A #3AA29C
tetradic
#9C3AA2 #A2683A #40A23A #3A74A2
square
#9C3AA2 #A2683A #40A23A #3A74A2
split-complementary
#9C3AA2 #74A23A #3AA268
monochromatic
#451A48 #712A75 #9C3AA2 #BC57C3 #CE84D3

Accessibility & contrast

On white

5.93
#9C3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C3AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3AA2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3AA2#FFFFFF#000000##FFFFFF
##9C3AA21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#A04969
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c3aa2;
/* rgb */ color: rgb(156, 58, 162);
/* oklch */ color: oklch(52.6% 0.181 325.4);
Tailwind
colors: {
  custom: {
    50: '#bc77be',
    500: '#9c3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3aa2;
$custom-light: #bc77be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3aa2",
  "rgb": {
    "r": 156,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 296.538,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.18104,
    "h": 325.4
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#9C3AA2
secondary
#7FBD7B
accent
#D75159
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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