#9C4BB7#9C4BB7

#9C4BB7 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.176 H 316.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C4BB7
RGBrgb(156, 75, 183)
HSLhsl(285, 43%, 51%)
HSVhsv(285, 59%, 72%)
CMYKcmyk(14.8%, 59%, 0%, 28.2%)
CIE-LABlab(46.34, 50.68, -43.11)
CIE-LCHlch(46.34, 66.54, 319.62°)
OKLaboklab(55.9% 0.1286 -0.1205)
OKLCHoklch(55.9% 0.176 316.9)
XYZxyz(24.7724, 15.5199, 46.4813)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BB7 #66B74B
analogous
#664BB7 #9C4BB7 #B74B9C
triadic
#9C4BB7 #B79C4B #4BB79C
tetradic
#9C4BB7 #B7664B #66B74B #4B9CB7
square
#9C4BB7 #B7664B #66B74B #4B9CB7
split-complementary
#9C4BB7 #9CB74B #4BB766
monochromatic
#522761 #77388D #9C4BB7 #B477C8 #CCA2DA

Accessibility & contrast

On white

5.12
#9C4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9C4BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BB7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BB7#FFFFFF#000000##FFFFFF
##9C4BB71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BA
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#9B5D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c4bb7;
/* rgb */ color: rgb(156, 75, 183);
/* oklch */ color: oklch(55.9% 0.176 316.9);
Tailwind
colors: {
  custom: {
    50: '#bc81cd',
    500: '#9c4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bb7;
$custom-light: #bc81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bb7",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 285,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.17623,
    "h": 316.9
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#9C4BB7
secondary
#A3C797
accent
#D35575
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #9C4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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