#9C3D97#9C3D97

#9C3D97 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.3% C 0.167 H 329.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9C3D97
RGBrgb(156, 61, 151)
HSLhsl(303, 44%, 43%)
HSVhsv(303, 61%, 61%)
CMYKcmyk(0%, 60.9%, 3.2%, 38.8%)
CIE-LABlab(42.22, 51.16, -30.64)
CIE-LCHlch(42.22, 59.64, 329.08°)
OKLaboklab(52.34% 0.1445 -0.0842)
OKLCHoklch(52.34% 0.167 329.8)
XYZxyz(20.9648, 12.6412, 30.6079)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3D97 #3D9C42
analogous
#723D9C #9C3D97 #9C3D67
triadic
#9C3D97 #979C3D #3D979C
tetradic
#9C3D97 #9C723D #3D9C42 #3D679C
square
#9C3D97 #9C723D #3D9C42 #3D679C
split-complementary
#9C3D97 #679C3D #3D9C72
monochromatic
#441B42 #702C6C #9C3D97 #BE58B8 #CF84CB

Accessibility & contrast

On white

5.95
#9C3D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9C3D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3D97
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3D97#FFFFFF#000000##FFFFFF
##9C3D971.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B9A
Deuteranopia (green-blind)
#556894
Tritanopia (blue-blind)
#A14764
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c3d97;
/* rgb */ color: rgb(156, 61, 151);
/* oklch */ color: oklch(52.3% 0.167 329.8);
Tailwind
colors: {
  custom: {
    50: '#bc79b6',
    500: '#9c3d97',
    950: '#000000',
  },
}
SCSS
$custom: #9c3d97;
$custom-light: #bc79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3d97",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 303.158,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.1672,
    "h": 329.8
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

primary
#9C3D97
secondary
#7CB97F
accent
#D45B54
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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