#9C3EAD#9C3EAD

#9C3EAD is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.185 H 321.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9C3EAD
RGBrgb(156, 62, 173)
HSLhsl(291, 47%, 46%)
HSVhsv(291, 64%, 68%)
CMYKcmyk(9.8%, 64.2%, 0%, 32.2%)
CIE-LABlab(43.55, 54.77, -41.66)
CIE-LCHlch(43.55, 68.81, 322.74°)
OKLaboklab(53.69% 0.1445 -0.1161)
OKLCHoklch(53.69% 0.185 321.2)
XYZxyz(22.9749, 13.5314, 40.9287)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3EAD #4FAD3E
analogous
#643EAD #9C3EAD #AD3E86
triadic
#9C3EAD #AD9C3E #3EAD9C
tetradic
#9C3EAD #AD643E #4FAD3E #3E86AD
square
#9C3EAD #AD643E #4FAD3E #3E86AD
split-complementary
#9C3EAD #86AD3E #3EAD64
monochromatic
#4B1E53 #732E80 #9C3EAD #B762C7 #CC8FD7

Accessibility & contrast

On white

5.67
#9C3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9C3EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3EAD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3EAD#FFFFFF#000000##FFFFFF
##9C3EAD1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260B0
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#9D5070
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c3ead;
/* rgb */ color: rgb(156, 62, 173);
/* oklch */ color: oklch(53.7% 0.185 321.2);
Tailwind
colors: {
  custom: {
    50: '#bc7ac6',
    500: '#9c3ead',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ead;
$custom-light: #bc7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ead",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 290.811,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.18542,
    "h": 321.2
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#9C3EAD
secondary
#8EC285
accent
#D75165
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9C3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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