#9C56E5#9C56E5

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

Color values

HEX#9C56E5
RGBrgb(156, 86, 229)
HSLhsl(269, 73%, 62%)
HSVhsv(269, 62%, 90%)
CMYKcmyk(31.9%, 62.4%, 0%, 10.2%)
CIE-LABlab(51.13, 55.48, -61.84)
CIE-LCHlch(51.13, 83.07, 311.90°)
OKLaboklab(60.27% 0.1146 -0.1754)
OKLCHoklch(60.27% 0.209 303.2)
XYZxyz(31.1777, 19.3807, 76.2119)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56E5 #9FE556
analogous
#5658E5 #9C56E5 #E456E5
triadic
#9C56E5 #E59C56 #56E59C
tetradic
#9C56E5 #E55658 #9FE556 #56E5E4
square
#9C56E5 #E55658 #9FE556 #56E5E4
split-complementary
#9C56E5 #E5E456 #58E556
monochromatic
#5F1AA7 #7D22DC #9C56E5 #BB8BED #DAC0F5

Accessibility & contrast

On white

4.31
#9C56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9C56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56E5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56E5#FFFFFF#000000##000000
##9C56E51.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#2A79E2
Tritanopia (blue-blind)
#8E7496
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c56e5;
/* rgb */ color: rgb(156, 86, 229);
/* oklch */ color: oklch(60.3% 0.209 303.2);
Tailwind
colors: {
  custom: {
    50: '#be89ee',
    500: '#9c56e5',
    950: '#000000',
  },
}
SCSS
$custom: #9c56e5;
$custom-light: #be89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56e5",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 269.371,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.20947,
    "h": 303.2
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#9C56E5
secondary
#CCE6B1
accent
#D51075
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9C56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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