#9C4FCD#9C4FCD

#9C4FCD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.193 H 309.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9C4FCD
RGBrgb(156, 79, 205)
HSLhsl(277, 56%, 56%)
HSVhsv(277, 61%, 80%)
CMYKcmyk(23.9%, 61.5%, 0%, 19.6%)
CIE-LABlab(48.35, 53.44, -52.65)
CIE-LCHlch(48.35, 75.02, 315.43°)
OKLaboklab(57.77% 0.1238 -0.1484)
OKLCHoklch(57.77% 0.193 309.8)
XYZxyz(27.5236, 17.0682, 59.5903)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FCD #80CD4F
analogous
#5D4FCD #9C4FCD #CD4FBF
triadic
#9C4FCD #CD9C4F #4FCD9C
tetradic
#9C4FCD #CD5D4F #80CD4F #4FBFCD
square
#9C4FCD #CD5D4F #80CD4F #4FBFCD
split-complementary
#9C4FCD #BFCD4F #4FCD5D
monochromatic
#5B247E #7D31AE #9C4FCD #B77FDB #D2AEE8

Accessibility & contrast

On white

4.76
#9C4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9C4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FCD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FCD#FFFFFF#000000##FFFFFF
##9C4FCD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#956787
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4fcd;
/* rgb */ color: rgb(156, 79, 205);
/* oklch */ color: oklch(57.8% 0.193 309.8);
Tailwind
colors: {
  custom: {
    50: '#bd84dd',
    500: '#9c4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fcd;
$custom-light: #bd84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fcd",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 276.667,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.19324,
    "h": 309.8
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#9C4FCD
secondary
#B6D6A2
accent
#DF4983
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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