#9C3897#9C3897

#9C3897 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.8% C 0.174 H 329.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9C3897
RGBrgb(156, 56, 151)
HSLhsl(303, 47%, 42%)
HSVhsv(303, 64%, 61%)
CMYKcmyk(0%, 64.1%, 3.2%, 38.8%)
CIE-LABlab(41.43, 53.35, -31.88)
CIE-LCHlch(41.43, 62.15, 329.14°)
OKLaboklab(51.77% 0.1507 -0.0877)
OKLCHoklch(51.77% 0.174 329.8)
XYZxyz(20.7102, 12.1321, 30.5231)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3897 #389C3D
analogous
#6F389C #9C3897 #9C3865
triadic
#9C3897 #979C38 #38979C
tetradic
#9C3897 #9C6F38 #389C3D #38659C
square
#9C3897 #9C6F38 #389C3D #38659C
split-complementary
#9C3897 #659C38 #389C6F
monochromatic
#421840 #6F286B #9C3897 #C051BB #D17ECC

Accessibility & contrast

On white

6.13
#9C3897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9C3897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3897
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3897#FFFFFF#000000##FFFFFF
##9C38971.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#A24362
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c3897;
/* rgb */ color: rgb(156, 56, 151);
/* oklch */ color: oklch(51.8% 0.174 329.8);
Tailwind
colors: {
  custom: {
    50: '#bc76b6',
    500: '#9c3897',
    950: '#000000',
  },
}
SCSS
$custom: #9c3897;
$custom-light: #bc76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3897",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 303,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.17439,
    "h": 329.8
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#9C3897
secondary
#76BA79
accent
#D75851
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3897

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

Preview Lab → · Contrast checker → · Palette generator →

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