#9C4DCF#9C4DCF

#9C4DCF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.198 H 309.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9C4DCF
RGBrgb(156, 77, 207)
HSLhsl(276, 58%, 56%)
HSVhsv(276, 63%, 81%)
CMYKcmyk(24.6%, 62.8%, 0%, 18.8%)
CIE-LABlab(48.11, 54.86, -54.18)
CIE-LCHlch(48.11, 77.11, 315.36°)
OKLaboklab(57.64% 0.1261 -0.1529)
OKLCHoklch(57.64% 0.198 309.5)
XYZxyz(27.6245, 16.8812, 60.8225)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4DCF #80CF4D
analogous
#5B4DCF #9C4DCF #CF4DC1
triadic
#9C4DCF #CF9C4D #4DCF9C
tetradic
#9C4DCF #CF5B4D #80CF4D #4DC1CF
square
#9C4DCF #CF5B4D #80CF4D #4DC1CF
split-complementary
#9C4DCF #C1CF4D #4DCF5B
monochromatic
#5B227F #7D2FAF #9C4DCF #B77DDC #D2ADE9

Accessibility & contrast

On white

4.80
#9C4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9C4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4DCF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4DCF#FFFFFF#000000##FFFFFF
##9C4DCF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036FD3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#956787
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c4dcf;
/* rgb */ color: rgb(156, 77, 207);
/* oklch */ color: oklch(57.6% 0.198 309.5);
Tailwind
colors: {
  custom: {
    50: '#bd83de',
    500: '#9c4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #9c4dcf;
$custom-light: #bd83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4dcf",
  "rgb": {
    "r": 156,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 276.462,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.19817,
    "h": 309.5
  },
  "luminance": 0.16881
}

Semantic roles & 50–950 ramp

primary
#9C4DCF
secondary
#B6D7A1
accent
#E14783
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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