#9C3BA2#9C3BA2

#9C3BA2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.7% C 0.180 H 325.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9C3BA2
RGBrgb(156, 59, 162)
HSLhsl(297, 47%, 43%)
HSVhsv(297, 64%, 64%)
CMYKcmyk(3.7%, 63.6%, 0%, 36.5%)
CIE-LABlab(42.47, 54.02, -36.84)
CIE-LCHlch(42.47, 65.39, 325.70°)
OKLaboklab(52.71% 0.1478 -0.1021)
OKLCHoklch(52.71% 0.18 325.4)
XYZxyz(21.7954, 12.8058, 35.4992)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3BA2 #41A23B
analogous
#683BA2 #9C3BA2 #A23B74
triadic
#9C3BA2 #A29C3B #3BA29C
tetradic
#9C3BA2 #A2683B #41A23B #3B74A2
square
#9C3BA2 #A2683B #41A23B #3B74A2
split-complementary
#9C3BA2 #74A23B #3BA268
monochromatic
#461A48 #712B75 #9C3BA2 #BC58C2 #CE85D3

Accessibility & contrast

On white

5.90
#9C3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9C3BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3BA2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3BA2#FFFFFF#000000##FFFFFF
##9C3BA21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA5
Deuteranopia (green-blind)
#4F689F
Tritanopia (blue-blind)
#A04A69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c3ba2;
/* rgb */ color: rgb(156, 59, 162);
/* oklch */ color: oklch(52.7% 0.180 325.4);
Tailwind
colors: {
  custom: {
    50: '#bc78be',
    500: '#9c3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ba2;
$custom-light: #bc78be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ba2",
  "rgb": {
    "r": 156,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 296.505,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.17965,
    "h": 325.4
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#9C3BA2
secondary
#80BD7C
accent
#D65259
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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