#9C5697#9C5697

#9C5697 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 55.8% C 0.126 H 329.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9C5697
RGBrgb(156, 86, 151)
HSLhsl(304, 29%, 47%)
HSVhsv(304, 45%, 61%)
CMYKcmyk(0%, 44.9%, 3.2%, 38.8%)
CIE-LABlab(46.92, 38.66, -23.32)
CIE-LCHlch(46.92, 45.15, 328.91°)
OKLaboklab(55.82% 0.1088 -0.0635)
OKLCHoklch(55.82% 0.126 329.7)
XYZxyz(22.6237, 15.9591, 31.1609)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5697 #569C5B
analogous
#7E569C #9C5697 #9C5674
triadic
#9C5697 #979C56 #56979C
tetradic
#9C5697 #9C7E56 #569C5B #56749C
square
#9C5697 #9C7E56 #569C5B #56749C
split-complementary
#9C5697 #749C56 #569C7E
monochromatic
#4D2B4B #754071 #9C5697 #B67AB1 #CBA1C8

Accessibility & contrast

On white

5.01
#9C5697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9C5697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5697
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5697#FFFFFF#000000##FFFFFF
##9C56971.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#667395
Tritanopia (blue-blind)
#A15C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c5697;
/* rgb */ color: rgb(156, 86, 151);
/* oklch */ color: oklch(55.8% 0.126 329.7);
Tailwind
colors: {
  custom: {
    50: '#bb88b5',
    500: '#9c5697',
    950: '#000000',
  },
}
SCSS
$custom: #9c5697;
$custom-light: #bb88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5697",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 304.286,
    "s": 28.926,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.126,
    "h": 329.7
  },
  "luminance": 0.15958
}

Semantic roles & 50–950 ramp

primary
#9C5697
secondary
#95B998
accent
#C56A63
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9C5697

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

Preview Lab → · Contrast checker → · Palette generator →

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