#9C4E97#9C4E97

#9C4E97 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.6% C 0.140 H 329.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9C4E97
RGBrgb(156, 78, 151)
HSLhsl(304, 33%, 46%)
HSVhsv(304, 50%, 61%)
CMYKcmyk(0%, 50%, 3.2%, 38.8%)
CIE-LABlab(45.29, 42.90, -25.84)
CIE-LCHlch(45.29, 50.08, 328.94°)
OKLaboklab(54.61% 0.1209 -0.0706)
OKLCHoklch(54.61% 0.14 329.7)
XYZxyz(22.0204, 14.7523, 30.9598)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4E97 #4E9C53
analogous
#7A4E9C #9C4E97 #9C4E70
triadic
#9C4E97 #979C4E #4E979C
tetradic
#9C4E97 #9C7A4E #4E9C53 #4E709C
square
#9C4E97 #9C7A4E #4E9C53 #4E709C
split-complementary
#9C4E97 #709C4E #4E9C7A
monochromatic
#4A2548 #733A70 #9C4E97 #B770B3 #CC99C9

Accessibility & contrast

On white

5.32
#9C4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9C4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4E97
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4E97#FFFFFF#000000##FFFFFF
##9C4E971.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#A1556B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c4e97;
/* rgb */ color: rgb(156, 78, 151);
/* oklch */ color: oklch(54.6% 0.140 329.7);
Tailwind
colors: {
  custom: {
    50: '#bb83b6',
    500: '#9c4e97',
    950: '#000000',
  },
}
SCSS
$custom: #9c4e97;
$custom-light: #bb83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4e97",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 303.846,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.13998,
    "h": 329.7
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#9C4E97
secondary
#8DB890
accent
#C9655E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9C4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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