#9C56CF#9C56CF

#9C56CF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.8% C 0.185 H 308.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9C56CF
RGBrgb(156, 86, 207)
HSLhsl(275, 56%, 57%)
HSVhsv(275, 58%, 81%)
CMYKcmyk(24.6%, 58.5%, 0%, 18.8%)
CIE-LABlab(49.77, 50.37, -51.52)
CIE-LCHlch(49.77, 72.05, 314.35°)
OKLaboklab(58.85% 0.1152 -0.1451)
OKLCHoklch(58.85% 0.185 308.4)
XYZxyz(28.2983, 18.2289, 61.0472)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56CF #89CF56
analogous
#6056CF #9C56CF #CF56C5
triadic
#9C56CF #CF9C56 #56CF9C
tetradic
#9C56CF #CF6056 #89CF56 #56C5CF
square
#9C56CF #CF6056 #89CF56 #56C5CF
split-complementary
#9C56CF #C5CF56 #56CF60
monochromatic
#5D2685 #7E33B5 #9C56CF #B886DD #D4B5EA

Accessibility & contrast

On white

4.52
#9C56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9C56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56CF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56CF#FFFFFF#000000##000000
##9C56CF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2774D3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#956D8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c56cf;
/* rgb */ color: rgb(156, 86, 207);
/* oklch */ color: oklch(58.8% 0.185 308.4);
Tailwind
colors: {
  custom: {
    50: '#bc89de',
    500: '#9c56cf',
    950: '#000000',
  },
}
SCSS
$custom: #9c56cf;
$custom-light: #bc89de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56cf",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 274.711,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58848,
    "c": 0.18524,
    "h": 308.4
  },
  "luminance": 0.18228
}

Semantic roles & 50–950 ramp

primary
#9C56CF
secondary
#BDD9A8
accent
#DF4988
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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