#9C4AED#9C4AED

#9C4AED is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.233 H 302.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9C4AED
RGBrgb(156, 74, 237)
HSLhsl(270, 82%, 61%)
HSVhsv(270, 69%, 93%)
CMYKcmyk(34.2%, 68.8%, 0%, 7.1%)
CIE-LABlab(49.59, 63.07, -68.83)
CIE-LCHlch(49.59, 93.35, 312.50°)
OKLaboklab(59.34% 0.1265 -0.1959)
OKLCHoklch(59.34% 0.233 302.9)
XYZxyz(31.4416, 18.0799, 81.9377)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4AED #9BED4A
analogous
#4A4AED #9C4AED #ED4AED
triadic
#9C4AED #ED9C4A #4AED9C
tetradic
#9C4AED #ED4A4A #9BED4A #4AEDED
square
#9C4AED #ED4A4A #9BED4A #4AEDED
split-complementary
#9C4AED #EDED4A #4AED4A
monochromatic
#5F11AC #7E17E3 #9C4AED #BA82F3 #D9B9F8

Accessibility & contrast

On white

4.55
#9C4AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9C4AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4AED
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4AED#FFFFFF#000000##000000
##9C4AED1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#8C7096
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c4aed;
/* rgb */ color: rgb(156, 74, 237);
/* oklch */ color: oklch(59.3% 0.233 302.9);
Tailwind
colors: {
  custom: {
    50: '#bf82f4',
    500: '#9c4aed',
    950: '#000000',
  },
}
SCSS
$custom: #9c4aed;
$custom-light: #bf82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4aed",
  "rgb": {
    "r": 156,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 270.184,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.23317,
    "h": 302.9
  },
  "luminance": 0.1808
}

Semantic roles & 50–950 ramp

primary
#9C4AED
secondary
#C9E8AB
accent
#DE0772
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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