#9C3AC5#9C3AC5

#9C3AC5 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.213 H 314.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9C3AC5
RGBrgb(156, 58, 197)
HSLhsl(282, 55%, 50%)
HSVhsv(282, 71%, 77%)
CMYKcmyk(20.8%, 70.6%, 0%, 22.7%)
CIE-LABlab(44.41, 61.23, -54.35)
CIE-LCHlch(44.41, 81.87, 318.41°)
OKLaboklab(54.78% 0.1478 -0.1532)
OKLCHoklch(54.78% 0.213 314)
XYZxyz(25.2997, 14.1261, 54.2064)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3AC5 #63C53A
analogous
#563AC5 #9C3AC5 #C53AA9
triadic
#9C3AC5 #C59C3A #3AC59C
tetradic
#9C3AC5 #C5563A #63C53A #3AA9C5
square
#9C3AC5 #C5563A #63C53A #3AA9C5
split-complementary
#9C3AC5 #A9C53A #3AC556
monochromatic
#511E66 #772C96 #9C3AC5 #B469D3 #CC99E1

Accessibility & contrast

On white

5.49
#9C3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9C3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3AC5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3AC5#FFFFFF#000000##FFFFFF
##9C3AC51.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#316BC2
Tritanopia (blue-blind)
#98577C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c3ac5;
/* rgb */ color: rgb(156, 58, 197);
/* oklch */ color: oklch(54.8% 0.213 314.0);
Tailwind
colors: {
  custom: {
    50: '#bd79d7',
    500: '#9c3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ac5;
$custom-light: #bd79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ac5",
  "rgb": {
    "r": 156,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 282.302,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.21292,
    "h": 314
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#9C3AC5
secondary
#A1CD8E
accent
#DE4A76
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9C3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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