#9C4DDC#9C4DDC

#9C4DDC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.212 H 306.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9C4DDC
RGBrgb(156, 77, 220)
HSLhsl(273, 67%, 58%)
HSVhsv(273, 65%, 86%)
CMYKcmyk(29.1%, 65%, 0%, 13.7%)
CIE-LABlab(48.94, 57.78, -60.27)
CIE-LCHlch(48.94, 83.50, 313.79°)
OKLaboklab(58.5% 0.1253 -0.1707)
OKLCHoklch(58.5% 0.212 306.3)
XYZxyz(29.2797, 17.5433, 69.5400)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4DDC #8DDC4D
analogous
#544DDC #9C4DDC #DC4DD4
triadic
#9C4DDC #DC9C4D #4DDC9C
tetradic
#9C4DDC #DC544D #8DDC4D #4DD4DC
square
#9C4DDC #DC544D #8DDC4D #4DD4DC
split-complementary
#9C4DDC #D4DC4D #4DDC54
monochromatic
#5D1D92 #7E27C5 #9C4DDC #B880E6 #D5B3F0

Accessibility & contrast

On white

4.66
#9C4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9C4DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4DDC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4DDC#FFFFFF#000000##FFFFFF
##9C4DDC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#916C8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4ddc;
/* rgb */ color: rgb(156, 77, 220);
/* oklch */ color: oklch(58.5% 0.212 306.3);
Tailwind
colors: {
  custom: {
    50: '#be84e8',
    500: '#9c4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ddc;
$custom-light: #be84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ddc",
  "rgb": {
    "r": 156,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 273.147,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.2118,
    "h": 306.3
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#9C4DDC
secondary
#BFDFA6
accent
#EA3E8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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