#9C56CC#9C56CC

#9C56CC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.182 H 309.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9C56CC
RGBrgb(156, 86, 204)
HSLhsl(276, 54%, 57%)
HSVhsv(276, 58%, 80%)
CMYKcmyk(23.5%, 57.8%, 0%, 20%)
CIE-LABlab(49.60, 49.69, -50.08)
CIE-LCHlch(49.60, 70.55, 314.78°)
OKLaboklab(58.66% 0.1151 -0.1409)
OKLCHoklch(58.66% 0.182 309.3)
XYZxyz(27.9351, 18.0836, 59.1339)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56CC #86CC56
analogous
#6156CC #9C56CC #CC56C1
triadic
#9C56CC #CC9C56 #56CC9C
tetradic
#9C56CC #CC6156 #86CC56 #56C1CC
square
#9C56CC #CC6156 #86CC56 #56C1CC
split-complementary
#9C56CC #C1CC56 #56CC61
monochromatic
#5C2781 #7E35B0 #9C56CC #B885DA #D3B4E8

Accessibility & contrast

On white

4.55
#9C56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9C56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56CC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56CC#FFFFFF#000000##000000
##9C56CC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#956C89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c56cc;
/* rgb */ color: rgb(156, 86, 204);
/* oklch */ color: oklch(58.7% 0.182 309.3);
Tailwind
colors: {
  custom: {
    50: '#bc89dc',
    500: '#9c56cc',
    950: '#000000',
  },
}
SCSS
$custom: #9c56cc;
$custom-light: #bc89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56cc",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 275.593,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.18193,
    "h": 309.3
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#9C56CC
secondary
#BAD7A7
accent
#DD4B86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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