#9C5397#9C5397

#9C5397 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.4% C 0.131 H 329.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C5397
RGBrgb(156, 83, 151)
HSLhsl(304, 31%, 47%)
HSVhsv(304, 47%, 61%)
CMYKcmyk(0%, 46.8%, 3.2%, 38.8%)
CIE-LABlab(46.30, 40.27, -24.28)
CIE-LCHlch(46.30, 47.02, 328.91°)
OKLaboklab(55.35% 0.1134 -0.0662)
OKLCHoklch(55.35% 0.131 329.7)
XYZxyz(22.3892, 15.4900, 31.0827)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5397 #539C58
analogous
#7D539C #9C5397 #9C5373
triadic
#9C5397 #979C53 #53979C
tetradic
#9C5397 #9C7D53 #539C58 #53739C
square
#9C5397 #9C7D53 #539C58 #53739C
split-complementary
#9C5397 #739C53 #539C7D
monochromatic
#4C284A #743E70 #9C5397 #B676B2 #CB9EC8

Accessibility & contrast

On white

5.12
#9C5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9C5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5397
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5397#FFFFFF#000000##FFFFFF
##9C53971.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6799
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#A1596E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c5397;
/* rgb */ color: rgb(156, 83, 151);
/* oklch */ color: oklch(55.4% 0.131 329.7);
Tailwind
colors: {
  custom: {
    50: '#bb86b5',
    500: '#9c5397',
    950: '#000000',
  },
}
SCSS
$custom: #9c5397;
$custom-light: #bb86b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5397",
  "rgb": {
    "r": 156,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 304.11,
    "s": 30.544,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.13131,
    "h": 329.7
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#9C5397
secondary
#92B995
accent
#C76861
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9C5397

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

Preview Lab → · Contrast checker → · Palette generator →

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