#9C4EAA#9C4EAA

#9C4EAA is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.6% C 0.158 H 321.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9C4EAA
RGBrgb(156, 78, 170)
HSLhsl(291, 37%, 49%)
HSVhsv(291, 54%, 67%)
CMYKcmyk(8.2%, 54.1%, 0%, 33.3%)
CIE-LABlab(46.20, 46.54, -35.69)
CIE-LCHlch(46.20, 58.65, 322.51°)
OKLaboklab(55.58% 0.1237 -0.0989)
OKLCHoklch(55.58% 0.158 321.3)
XYZxyz(23.6896, 15.4200, 39.7509)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EAA #5CAA4E
analogous
#6E4EAA #9C4EAA #AA4E8A
triadic
#9C4EAA #AA9C4E #4EAA9C
tetradic
#9C4EAA #AA6E4E #5CAA4E #4E8AAA
square
#9C4EAA #AA6E4E #5CAA4E #4E8AAA
split-complementary
#9C4EAA #8AAA4E #4EAA6E
monochromatic
#4F2856 #763B80 #9C4EAA #B575C0 #CB9FD3

Accessibility & contrast

On white

5.14
#9C4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9C4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4EAA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EAA#FFFFFF#000000##FFFFFF
##9C4EAA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#9E5B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c4eaa;
/* rgb */ color: rgb(156, 78, 170);
/* oklch */ color: oklch(55.6% 0.158 321.3);
Tailwind
colors: {
  custom: {
    50: '#bb83c3',
    500: '#9c4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9c4eaa;
$custom-light: #bb83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4eaa",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 290.87,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.15837,
    "h": 321.3
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#9C4EAA
secondary
#9BC094
accent
#CD5B6C
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9C4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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