#9C56E6#9C56E6

#9C56E6 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.211 H 302.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9C56E6
RGBrgb(156, 86, 230)
HSLhsl(269, 74%, 62%)
HSVhsv(269, 63%, 90%)
CMYKcmyk(32.2%, 62.6%, 0%, 9.8%)
CIE-LABlab(51.19, 55.72, -62.29)
CIE-LCHlch(51.19, 83.58, 311.81°)
OKLaboklab(60.34% 0.1145 -0.1767)
OKLCHoklch(60.34% 0.211 302.9)
XYZxyz(31.3177, 19.4367, 76.9493)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56E6 #A0E656
analogous
#5658E6 #9C56E6 #E456E6
triadic
#9C56E6 #E69C56 #56E69C
tetradic
#9C56E6 #E65658 #A0E656 #56E6E4
square
#9C56E6 #E65658 #A0E656 #56E6E4
split-complementary
#9C56E6 #E6E456 #58E656
monochromatic
#5F19A9 #7D21DE #9C56E6 #BB8BEE #DAC1F6

Accessibility & contrast

On white

4.30
#9C56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9C56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56E6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56E6#FFFFFF#000000##000000
##9C56E61.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#297AE3
Tritanopia (blue-blind)
#8E7596
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c56e6;
/* rgb */ color: rgb(156, 86, 230);
/* oklch */ color: oklch(60.3% 0.211 302.9);
Tailwind
colors: {
  custom: {
    50: '#be89ef',
    500: '#9c56e6',
    950: '#000000',
  },
}
SCSS
$custom: #9c56e6;
$custom-light: #be89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56e6",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 269.167,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.21057,
    "h": 302.9
  },
  "luminance": 0.19437
}

Semantic roles & 50–950 ramp

primary
#9C56E6
secondary
#CDE6B1
accent
#D60F76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9C56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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