#9C4CCD#9C4CCD

#9C4CCD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.4% C 0.197 H 310.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9C4CCD
RGBrgb(156, 76, 205)
HSLhsl(277, 56%, 55%)
HSVhsv(277, 63%, 80%)
CMYKcmyk(23.9%, 62.9%, 0%, 19.6%)
CIE-LABlab(47.81, 54.90, -53.51)
CIE-LCHlch(47.81, 76.67, 315.73°)
OKLaboklab(57.38% 0.1274 -0.1509)
OKLCHoklch(57.38% 0.197 310.2)
XYZxyz(27.3121, 16.6451, 59.5198)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CCD #7DCD4C
analogous
#5B4CCD #9C4CCD #CD4CBE
triadic
#9C4CCD #CD9C4C #4CCD9C
tetradic
#9C4CCD #CD5B4C #7DCD4C #4CBECD
square
#9C4CCD #CD5B4C #7DCD4C #4CBECD
split-complementary
#9C4CCD #BECD4C #4CCD5B
monochromatic
#5A237C #7D30AC #9C4CCD #B67CDA #D1ACE8

Accessibility & contrast

On white

4.85
#9C4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9C4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CCD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CCD#FFFFFF#000000##FFFFFF
##9C4CCD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ED1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#956586
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c4ccd;
/* rgb */ color: rgb(156, 76, 205);
/* oklch */ color: oklch(57.4% 0.197 310.2);
Tailwind
colors: {
  custom: {
    50: '#bd83dd',
    500: '#9c4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ccd;
$custom-light: #bd83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ccd",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 277.209,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.19747,
    "h": 310.2
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#9C4CCD
secondary
#B4D59F
accent
#E04882
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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