#9C4BB2#9C4BB2

#9C4BB2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.6% C 0.171 H 318.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9C4BB2
RGBrgb(156, 75, 178)
HSLhsl(287, 41%, 50%)
HSVhsv(287, 58%, 70%)
CMYKcmyk(12.4%, 57.9%, 0%, 30.2%)
CIE-LABlab(46.06, 49.66, -40.62)
CIE-LCHlch(46.06, 64.16, 320.72°)
OKLaboklab(55.61% 0.1284 -0.1132)
OKLCHoklch(55.61% 0.171 318.6)
XYZxyz(24.2612, 15.3154, 43.7890)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BB2 #61B24B
analogous
#684BB2 #9C4BB2 #B24B95
triadic
#9C4BB2 #B29C4B #4BB29C
tetradic
#9C4BB2 #B2684B #61B24B #4B95B2
square
#9C4BB2 #B2684B #61B24B #4B95B2
split-complementary
#9C4BB2 #95B24B #4BB268
monochromatic
#51275C #763987 #9C4BB2 #B475C5 #CBA0D7

Accessibility & contrast

On white

5.17
#9C4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9C4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BB2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BB2#FFFFFF#000000##FFFFFF
##9C4BB21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#5070AF
Tritanopia (blue-blind)
#9C5B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c4bb2;
/* rgb */ color: rgb(156, 75, 178);
/* oklch */ color: oklch(55.6% 0.171 318.6);
Tailwind
colors: {
  custom: {
    50: '#bc81c9',
    500: '#9c4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bb2;
$custom-light: #bc81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bb2",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 287.184,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.17117,
    "h": 318.6
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#9C4BB2
secondary
#9FC495
accent
#D15771
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9C4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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