#9C5099#9C5099

#9C5099 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.0% C 0.138 H 328.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9C5099
RGBrgb(156, 80, 153)
HSLhsl(302, 32%, 46%)
HSVhsv(302, 49%, 61%)
CMYKcmyk(0%, 48.7%, 1.9%, 38.8%)
CIE-LABlab(45.78, 42.22, -26.28)
CIE-LCHlch(45.78, 49.73, 328.11°)
OKLaboklab(55% 0.1183 -0.0719)
OKLCHoklch(55% 0.138 328.7)
XYZxyz(22.3284, 15.1064, 31.8705)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5099 #509C53
analogous
#79509C #9C5099 #9C5073
triadic
#9C5099 #999C50 #50999C
tetradic
#9C5099 #9C7950 #509C53 #50739C
square
#9C5099 #9C7950 #509C53 #50739C
split-complementary
#9C5099 #739C50 #509C79
monochromatic
#4B274A #743B71 #9C5099 #B772B4 #CC9BCA

Accessibility & contrast

On white

5.22
#9C5099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9C5099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5099
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5099#FFFFFF#000000##FFFFFF
##9C50991.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#A1576D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c5099;
/* rgb */ color: rgb(156, 80, 153);
/* oklch */ color: oklch(55.0% 0.138 328.7);
Tailwind
colors: {
  custom: {
    50: '#bb84b7',
    500: '#9c5099',
    950: '#000000',
  },
}
SCSS
$custom: #9c5099;
$custom-light: #bb84b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5099",
  "rgb": {
    "r": 156,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 302.368,
    "s": 32.203,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.13842,
    "h": 328.7
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#9C5099
secondary
#8FB891
accent
#C8645F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9C5099

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

Preview Lab → · Contrast checker → · Palette generator →

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