#9C4CD9#9C4CD9

#9C4CD9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.210 H 307.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9C4CD9
RGBrgb(156, 76, 217)
HSLhsl(274, 65%, 57%)
HSVhsv(274, 65%, 85%)
CMYKcmyk(28.1%, 65%, 0%, 14.9%)
CIE-LABlab(48.57, 57.58, -59.16)
CIE-LCHlch(48.57, 82.55, 314.22°)
OKLaboklab(58.17% 0.1267 -0.1675)
OKLCHoklch(58.17% 0.21 307.1)
XYZxyz(28.8165, 17.2469, 67.4431)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CD9 #89D94C
analogous
#564CD9 #9C4CD9 #D94CCF
triadic
#9C4CD9 #D99C4C #4CD99C
tetradic
#9C4CD9 #D9564C #89D94C #4CCFD9
square
#9C4CD9 #D9564C #89D94C #4CCFD9
split-complementary
#9C4CD9 #CFD94C #4CD956
monochromatic
#5D1E8D #7E29BF #9C4CD9 #B87EE4 #D4B1EE

Accessibility & contrast

On white

4.72
#9C4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9C4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CD9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CD9#FFFFFF#000000##FFFFFF
##9C4CD91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#2D74D6
Tritanopia (blue-blind)
#926A8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4cd9;
/* rgb */ color: rgb(156, 76, 217);
/* oklch */ color: oklch(58.2% 0.210 307.1);
Tailwind
colors: {
  custom: {
    50: '#be83e5',
    500: '#9c4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cd9;
$custom-light: #be83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cd9",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 274.043,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.20998,
    "h": 307.1
  },
  "luminance": 0.17247
}

Semantic roles & 50–950 ramp

primary
#9C4CD9
secondary
#BDDDA4
accent
#E84089
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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