#9C56E8#9C56E8

#9C56E8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.213 H 302.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9C56E8
RGBrgb(156, 86, 232)
HSLhsl(269, 76%, 62%)
HSVhsv(269, 63%, 91%)
CMYKcmyk(32.8%, 62.9%, 0%, 9%)
CIE-LABlab(51.32, 56.19, -63.21)
CIE-LCHlch(51.32, 84.58, 311.63°)
OKLaboklab(60.47% 0.1144 -0.1794)
OKLCHoklch(60.47% 0.213 302.5)
XYZxyz(31.6002, 19.5497, 78.4370)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56E8 #A2E856
analogous
#5659E8 #9C56E8 #E556E8
triadic
#9C56E8 #E89C56 #56E89C
tetradic
#9C56E8 #E85659 #A2E856 #56E8E5
square
#9C56E8 #E85659 #A2E856 #56E8E5
split-complementary
#9C56E8 #E8E556 #59E856
monochromatic
#5F17AC #7C20E1 #9C56E8 #BC8CEF #DBC2F7

Accessibility & contrast

On white

4.28
#9C56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9C56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56E8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56E8#FFFFFF#000000##000000
##9C56E81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#257AE5
Tritanopia (blue-blind)
#8D7697
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c56e8;
/* rgb */ color: rgb(156, 86, 232);
/* oklch */ color: oklch(60.5% 0.213 302.5);
Tailwind
colors: {
  custom: {
    50: '#be89f0',
    500: '#9c56e8',
    950: '#000000',
  },
}
SCSS
$custom: #9c56e8;
$custom-light: #be89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56e8",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 268.767,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60472,
    "c": 0.21276,
    "h": 302.5
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#9C56E8
secondary
#CEE8B2
accent
#D80D77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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