#9C4FCC#9C4FCC

#9C4FCC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.192 H 310.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9C4FCC
RGBrgb(156, 79, 204)
HSLhsl(277, 55%, 55%)
HSVhsv(277, 61%, 80%)
CMYKcmyk(23.5%, 61.3%, 0%, 20%)
CIE-LABlab(48.29, 53.22, -52.18)
CIE-LCHlch(48.29, 74.53, 315.57°)
OKLaboklab(57.71% 0.1238 -0.147)
OKLCHoklch(57.71% 0.192 310.1)
XYZxyz(27.4033, 17.0201, 58.9566)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FCC #7FCC4F
analogous
#5D4FCC #9C4FCC #CC4FBD
triadic
#9C4FCC #CC9C4F #4FCC9C
tetradic
#9C4FCC #CC5D4F #7FCC4F #4FBDCC
square
#9C4FCC #CC5D4F #7FCC4F #4FBDCC
split-complementary
#9C4FCC #BDCC4F #4FCC5D
monochromatic
#5B247D #7D32AC #9C4FCC #B77EDA #D1AEE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C4FCC#FFFFFF#000000##FFFFFF
##9C4FCC1.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)
#186FD0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#966786
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4fcc;
/* rgb */ color: rgb(156, 79, 204);
/* oklch */ color: oklch(57.7% 0.192 310.1);
Tailwind
colors: {
  custom: {
    50: '#bd84dc',
    500: '#9c4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fcc;
$custom-light: #bd84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fcc",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 276.96,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57708,
    "c": 0.19218,
    "h": 310.1
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#9C4FCC
secondary
#B5D5A1
accent
#DE4983
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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