#9C56DC#9C56DC

#9C56DC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.7% C 0.200 H 305.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9C56DC
RGBrgb(156, 86, 220)
HSLhsl(271, 66%, 60%)
HSVhsv(271, 61%, 86%)
CMYKcmyk(29.1%, 60.9%, 0%, 13.7%)
CIE-LABlab(50.56, 53.36, -57.66)
CIE-LCHlch(50.56, 78.57, 312.78°)
OKLaboklab(59.67% 0.115 -0.1631)
OKLCHoklch(59.67% 0.2 305.2)
XYZxyz(29.9535, 18.8910, 69.7646)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56DC #96DC56
analogous
#5956DC #9C56DC #DC56D9
triadic
#9C56DC #DC9C56 #56DC9C
tetradic
#9C56DC #DC5956 #96DC56 #56D9DC
square
#9C56DC #DC5956 #96DC56 #56D9DC
split-complementary
#9C56DC #D9DC56 #56DC59
monochromatic
#5E2098 #7E2ACB #9C56DC #BA89E6 #D7BBF1

Accessibility & contrast

On white

4.39
#9C56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9C56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56DC#FFFFFF#000000##000000
##9C56DC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0676E0
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#917191
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c56dc;
/* rgb */ color: rgb(156, 86, 220);
/* oklch */ color: oklch(59.7% 0.200 305.2);
Tailwind
colors: {
  custom: {
    50: '#bd89e8',
    500: '#9c56dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c56dc;
$custom-light: #bd89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56dc",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 271.343,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.59673,
    "c": 0.19957,
    "h": 305.2
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#9C56DC
secondary
#C6E1AD
accent
#E93F90
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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