#9C56DA#9C56DA

#9C56DA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.5% C 0.197 H 305.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9C56DA
RGBrgb(156, 86, 218)
HSLhsl(272, 64%, 60%)
HSVhsv(272, 61%, 85%)
CMYKcmyk(28.4%, 60.6%, 0%, 14.5%)
CIE-LABlab(50.44, 52.90, -56.73)
CIE-LCHlch(50.44, 77.56, 313.00°)
OKLaboklab(59.54% 0.1151 -0.1604)
OKLCHoklch(59.54% 0.197 305.7)
XYZxyz(29.6902, 18.7857, 68.3779)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56DA #94DA56
analogous
#5A56DA #9C56DA #DA56D6
triadic
#9C56DA #DA9C56 #56DA9C
tetradic
#9C56DA #DA5A56 #94DA56 #56D6DA
square
#9C56DA #DA5A56 #94DA56 #56D6DA
split-complementary
#9C56DA #D6DA56 #56DA5A
monochromatic
#5E2195 #7E2CC7 #9C56DA #B988E5 #D7BAF0

Accessibility & contrast

On white

4.41
#9C56DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9C56DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56DA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56DA#FFFFFF#000000##000000
##9C56DA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DE
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#917190
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c56da;
/* rgb */ color: rgb(156, 86, 218);
/* oklch */ color: oklch(59.5% 0.197 305.7);
Tailwind
colors: {
  custom: {
    50: '#bd89e6',
    500: '#9c56da',
    950: '#000000',
  },
}
SCSS
$custom: #9c56da;
$custom-light: #bd89e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56da",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 271.818,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.19737,
    "h": 305.7
  },
  "luminance": 0.18785
}

Semantic roles & 50–950 ramp

primary
#9C56DA
secondary
#C4E0AC
accent
#E7418F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C56DA

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

Preview Lab → · Contrast checker → · Palette generator →

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