#9C4F99#9C4F99

#9C4F99 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.8% C 0.140 H 328.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9C4F99
RGBrgb(156, 79, 153)
HSLhsl(302, 33%, 46%)
HSVhsv(302, 49%, 61%)
CMYKcmyk(0%, 49.4%, 1.9%, 38.8%)
CIE-LABlab(45.58, 42.75, -26.59)
CIE-LCHlch(45.58, 50.34, 328.12°)
OKLaboklab(54.85% 0.1198 -0.0727)
OKLCHoklch(54.85% 0.14 328.7)
XYZxyz(22.2558, 14.9610, 31.8463)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4F99 #4F9C52
analogous
#784F9C #9C4F99 #9C4F72
triadic
#9C4F99 #999C4F #4F999C
tetradic
#9C4F99 #9C784F #4F9C52 #4F729C
square
#9C4F99 #9C784F #4F9C52 #4F729C
split-complementary
#9C4F99 #729C4F #4F9C78
monochromatic
#4B2649 #733A71 #9C4F99 #B771B4 #CC9ACA

Accessibility & contrast

On white

5.26
#9C4F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9C4F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4F99
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4F99#FFFFFF#000000##FFFFFF
##9C4F991.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659B
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#A1566D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c4f99;
/* rgb */ color: rgb(156, 79, 153);
/* oklch */ color: oklch(54.8% 0.140 328.7);
Tailwind
colors: {
  custom: {
    50: '#bb83b7',
    500: '#9c4f99',
    950: '#000000',
  },
}
SCSS
$custom: #9c4f99;
$custom-light: #bb83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4f99",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 302.338,
    "s": 32.766,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.14013,
    "h": 328.7
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#9C4F99
secondary
#8EB890
accent
#C9635F
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9C4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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