#9C4DB2#9C4DB2

#9C4DB2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.9% C 0.168 H 318.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9C4DB2
RGBrgb(156, 77, 178)
HSLhsl(287, 40%, 50%)
HSVhsv(287, 57%, 70%)
CMYKcmyk(12.4%, 56.7%, 0%, 30.2%)
CIE-LABlab(46.43, 48.66, -40.03)
CIE-LCHlch(46.43, 63.01, 320.56°)
OKLaboklab(55.88% 0.1257 -0.1115)
OKLCHoklch(55.88% 0.168 318.4)
XYZxyz(24.3990, 15.5910, 43.8350)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4DB2 #63B24D
analogous
#6A4DB2 #9C4DB2 #B24D95
triadic
#9C4DB2 #B29C4D #4DB29C
tetradic
#9C4DB2 #B26A4D #63B24D #4D95B2
square
#9C4DB2 #B26A4D #63B24D #4D95B2
split-complementary
#9C4DB2 #95B24D #4DB26A
monochromatic
#51285D #773B87 #9C4DB2 #B478C4 #CCA2D7

Accessibility & contrast

On white

5.10
#9C4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9C4DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4DB2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4DB2#FFFFFF#000000##FFFFFF
##9C4DB21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#9C5D78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c4db2;
/* rgb */ color: rgb(156, 77, 178);
/* oklch */ color: oklch(55.9% 0.168 318.4);
Tailwind
colors: {
  custom: {
    50: '#bc83c9',
    500: '#9c4db2',
    950: '#000000',
  },
}
SCSS
$custom: #9c4db2;
$custom-light: #bc83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4db2",
  "rgb": {
    "r": 156,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 286.931,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.16806,
    "h": 318.4
  },
  "luminance": 0.1559
}

Semantic roles & 50–950 ramp

primary
#9C4DB2
secondary
#A1C497
accent
#CF5872
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9C4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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