#9C5199#9C5199

#9C5199 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.1% C 0.137 H 328.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9C5199
RGBrgb(156, 81, 153)
HSLhsl(302, 32%, 46%)
HSVhsv(302, 48%, 61%)
CMYKcmyk(0%, 48.1%, 1.9%, 38.8%)
CIE-LABlab(45.98, 41.70, -25.96)
CIE-LCHlch(45.98, 49.12, 328.09°)
OKLaboklab(55.14% 0.1168 -0.071)
OKLCHoklch(55.14% 0.137 328.7)
XYZxyz(22.4022, 15.2539, 31.8951)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5199 #519C54
analogous
#7A519C #9C5199 #9C5174
triadic
#9C5199 #999C51 #51999C
tetradic
#9C5199 #9C7A51 #519C54 #51749C
square
#9C5199 #9C7A51 #519C54 #51749C
split-complementary
#9C5199 #749C51 #519C7A
monochromatic
#4B274A #743C71 #9C5199 #B774B4 #CC9CCA

Accessibility & contrast

On white

5.18
#9C5199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9C5199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5199
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5199#FFFFFF#000000##FFFFFF
##9C51991.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C679B
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#A1586E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c5199;
/* rgb */ color: rgb(156, 81, 153);
/* oklch */ color: oklch(55.1% 0.137 328.7);
Tailwind
colors: {
  custom: {
    50: '#bb85b7',
    500: '#9c5199',
    950: '#000000',
  },
}
SCSS
$custom: #9c5199;
$custom-light: #bb85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5199",
  "rgb": {
    "r": 156,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 302.4,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55144,
    "c": 0.13668,
    "h": 328.7
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#9C5199
secondary
#90B892
accent
#C86460
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9C5199

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

Preview Lab → · Contrast checker → · Palette generator →

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