#9C4DCD#9C4DCD

#9C4DCD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.5% C 0.196 H 310.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9C4DCD
RGBrgb(156, 77, 205)
HSLhsl(277, 56%, 55%)
HSVhsv(277, 62%, 80%)
CMYKcmyk(23.9%, 62.4%, 0%, 19.6%)
CIE-LABlab(47.99, 54.42, -53.23)
CIE-LCHlch(47.99, 76.12, 315.63°)
OKLaboklab(57.51% 0.1262 -0.1501)
OKLCHoklch(57.51% 0.196 310.1)
XYZxyz(27.3815, 16.7840, 59.5430)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4DCD #7ECD4D
analogous
#5C4DCD #9C4DCD #CD4DBE
triadic
#9C4DCD #CD9C4D #4DCD9C
tetradic
#9C4DCD #CD5C4D #7ECD4D #4DBECD
square
#9C4DCD #CD5C4D #7ECD4D #4DBECD
split-complementary
#9C4DCD #BECD4D #4DCD5C
monochromatic
#5A237D #7D30AC #9C4DCD #B77DDA #D1ADE8

Accessibility & contrast

On white

4.82
#9C4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9C4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4DCD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4DCD#FFFFFF#000000##FFFFFF
##9C4DCD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6ED1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#956686
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c4dcd;
/* rgb */ color: rgb(156, 77, 205);
/* oklch */ color: oklch(57.5% 0.196 310.1);
Tailwind
colors: {
  custom: {
    50: '#bd83dd',
    500: '#9c4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9c4dcd;
$custom-light: #bd83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4dcd",
  "rgb": {
    "r": 156,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 277.031,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.19607,
    "h": 310.1
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#9C4DCD
secondary
#B5D6A0
accent
#DF4882
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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