#9C4DEC#9C4DEC

#9C4DEC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.229 H 302.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9C4DEC
RGBrgb(156, 77, 236)
HSLhsl(270, 81%, 61%)
HSVhsv(270, 67%, 93%)
CMYKcmyk(33.9%, 67.4%, 0%, 7.5%)
CIE-LABlab(50.02, 61.47, -67.58)
CIE-LCHlch(50.02, 91.35, 312.29°)
OKLaboklab(59.62% 0.1236 -0.1922)
OKLCHoklch(59.62% 0.229 302.7)
XYZxyz(31.5010, 18.4318, 81.2387)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4DEC #9DEC4D
analogous
#4D4EEC #9C4DEC #EB4DEC
triadic
#9C4DEC #EC9C4D #4DEC9C
tetradic
#9C4DEC #EC4D4E #9DEC4D #4DECEB
square
#9C4DEC #EC4D4E #9DEC4D #4DECEB
split-complementary
#9C4DEC #ECEB4D #4EEC4D
monochromatic
#5F12AC #7D18E4 #9C4DEC #BB84F2 #DABCF8

Accessibility & contrast

On white

4.48
#9C4DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9C4DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4DEC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4DEC#FFFFFF#000000##000000
##9C4DEC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#8C7297
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c4dec;
/* rgb */ color: rgb(156, 77, 236);
/* oklch */ color: oklch(59.6% 0.229 302.7);
Tailwind
colors: {
  custom: {
    50: '#bf84f3',
    500: '#9c4dec',
    950: '#000000',
  },
}
SCSS
$custom: #9c4dec;
$custom-light: #bf84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4dec",
  "rgb": {
    "r": 156,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 269.811,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59616,
    "c": 0.22854,
    "h": 302.7
  },
  "luminance": 0.18432
}

Semantic roles & 50–950 ramp

primary
#9C4DEC
secondary
#CBE8AD
accent
#DD0873
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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