#9C4AC8#9C4AC8

#9C4AC8 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.8% C 0.195 H 311.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9C4AC8
RGBrgb(156, 74, 200)
HSLhsl(279, 53%, 54%)
HSVhsv(279, 63%, 78%)
CMYKcmyk(22%, 63%, 0%, 21.6%)
CIE-LABlab(47.15, 54.77, -51.69)
CIE-LCHlch(47.15, 75.31, 316.66°)
OKLaboklab(56.81% 0.1299 -0.1455)
OKLCHoklch(56.81% 0.195 311.8)
XYZxyz(26.5825, 16.1363, 56.3467)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4AC8 #76C84A
analogous
#5D4AC8 #9C4AC8 #C84AB5
triadic
#9C4AC8 #C89C4A #4AC89C
tetradic
#9C4AC8 #C85D4A #76C84A #4AB5C8
square
#9C4AC8 #C85D4A #76C84A #4AB5C8
split-complementary
#9C4AC8 #B5C84A #4AC85D
monochromatic
#582374 #7C32A3 #9C4AC8 #B679D6 #CFA8E5

Accessibility & contrast

On white

4.97
#9C4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9C4AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4AC8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4AC8#FFFFFF#000000##FFFFFF
##9C4AC81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6CCC
Deuteranopia (green-blind)
#3F71C5
Tritanopia (blue-blind)
#976282
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c4ac8;
/* rgb */ color: rgb(156, 74, 200);
/* oklch */ color: oklch(56.8% 0.195 311.8);
Tailwind
colors: {
  custom: {
    50: '#bd81d9',
    500: '#9c4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ac8;
$custom-light: #bd81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ac8",
  "rgb": {
    "r": 156,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 279.048,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.19509,
    "h": 311.8
  },
  "luminance": 0.16136
}

Semantic roles & 50–950 ramp

primary
#9C4AC8
secondary
#AFD29C
accent
#DD4B7E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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