#9C4CD4#9C4CD4

#9C4CD4 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.205 H 308.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9C4CD4
RGBrgb(156, 76, 212)
HSLhsl(275, 61%, 56%)
HSVhsv(275, 64%, 83%)
CMYKcmyk(26.4%, 64.2%, 0%, 16.9%)
CIE-LABlab(48.25, 56.46, -56.82)
CIE-LCHlch(48.25, 80.10, 314.81°)
OKLaboklab(57.84% 0.127 -0.1606)
OKLCHoklch(57.84% 0.205 308.3)
XYZxyz(28.1760, 16.9907, 64.0698)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CD4 #84D44C
analogous
#584CD4 #9C4CD4 #D44CC8
triadic
#9C4CD4 #D49C4C #4CD49C
tetradic
#9C4CD4 #D4584C #84D44C #4CC8D4
square
#9C4CD4 #D4584C #84D44C #4CC8D4
split-complementary
#9C4CD4 #C8D44C #4CD458
monochromatic
#5C2086 #7E2CB7 #9C4CD4 #B77DE0 #D3AFEC

Accessibility & contrast

On white

4.77
#9C4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9C4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CD4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CD4#FFFFFF#000000##FFFFFF
##9C4CD41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#3473D1
Tritanopia (blue-blind)
#946889
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4cd4;
/* rgb */ color: rgb(156, 76, 212);
/* oklch */ color: oklch(57.8% 0.205 308.3);
Tailwind
colors: {
  custom: {
    50: '#bd83e2',
    500: '#9c4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cd4;
$custom-light: #bd83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cd4",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 275.294,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5784,
    "c": 0.20477,
    "h": 308.3
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#9C4CD4
secondary
#B9DAA2
accent
#E44386
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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