#9C4CCC#9C4CCC

#9C4CCC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.196 H 310.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9C4CCC
RGBrgb(156, 76, 204)
HSLhsl(278, 56%, 55%)
HSVhsv(278, 63%, 80%)
CMYKcmyk(23.5%, 62.7%, 0%, 20%)
CIE-LABlab(47.75, 54.68, -53.04)
CIE-LCHlch(47.75, 76.18, 315.88°)
OKLaboklab(57.32% 0.1274 -0.1495)
OKLCHoklch(57.32% 0.196 310.4)
XYZxyz(27.1918, 16.5970, 58.8861)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CCC #7CCC4C
analogous
#5C4CCC #9C4CCC #CC4CBC
triadic
#9C4CCC #CC9C4C #4CCC9C
tetradic
#9C4CCC #CC5C4C #7CCC4C #4CBCCC
square
#9C4CCC #CC5C4C #7CCC4C #4CBCCC
split-complementary
#9C4CCC #BCCC4C #4CCC5C
monochromatic
#5A237B #7D31AA #9C4CCC #B67CDA #D1ABE7

Accessibility & contrast

On white

4.86
#9C4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9C4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CCC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CCC#FFFFFF#000000##FFFFFF
##9C4CCC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6ED0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#966585
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c4ccc;
/* rgb */ color: rgb(156, 76, 204);
/* oklch */ color: oklch(57.3% 0.196 310.4);
Tailwind
colors: {
  custom: {
    50: '#bd83dc',
    500: '#9c4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ccc;
$custom-light: #bd83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ccc",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 277.5,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.19643,
    "h": 310.4
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#9C4CCC
secondary
#B3D59F
accent
#DF4981
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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