#9C4EAF#9C4EAF

#9C4EAF is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.8% C 0.163 H 319.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9C4EAF
RGBrgb(156, 78, 175)
HSLhsl(288, 38%, 50%)
HSVhsv(288, 55%, 69%)
CMYKcmyk(10.9%, 55.4%, 0%, 31.4%)
CIE-LABlab(46.46, 47.55, -38.23)
CIE-LCHlch(46.46, 61.01, 321.20°)
OKLaboklab(55.85% 0.1242 -0.1063)
OKLCHoklch(55.85% 0.163 319.4)
XYZxyz(24.1716, 15.6128, 42.2895)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EAF #61AF4E
analogous
#6B4EAF #9C4EAF #AF4E92
triadic
#9C4EAF #AF9C4E #4EAF9C
tetradic
#9C4EAF #AF6B4E #61AF4E #4E92AF
square
#9C4EAF #AF6B4E #61AF4E #4E92AF
split-complementary
#9C4EAF #92AF4E #4EAF6B
monochromatic
#51285A #763B85 #9C4EAF #B478C3 #CBA2D6

Accessibility & contrast

On white

5.09
#9C4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C4EAF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EAF#FFFFFF#000000##FFFFFF
##9C4EAF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#9D5C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c4eaf;
/* rgb */ color: rgb(156, 78, 175);
/* oklch */ color: oklch(55.8% 0.163 319.4);
Tailwind
colors: {
  custom: {
    50: '#bb83c7',
    500: '#9c4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9c4eaf;
$custom-light: #bb83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4eaf",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 288.247,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.16343,
    "h": 319.4
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#9C4EAF
secondary
#9FC396
accent
#CE5A70
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9C4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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