#9C56EB#9C56EB

#9C56EB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.216 H 301.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9C56EB
RGBrgb(156, 86, 235)
HSLhsl(268, 79%, 63%)
HSVhsv(268, 63%, 92%)
CMYKcmyk(33.6%, 63.4%, 0%, 7.8%)
CIE-LABlab(51.52, 56.91, -64.58)
CIE-LCHlch(51.52, 86.07, 311.38°)
OKLaboklab(60.68% 0.1142 -0.1834)
OKLCHoklch(60.68% 0.216 301.9)
XYZxyz(32.0299, 19.7216, 80.7003)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56EB #A5EB56
analogous
#565AEB #9C56EB #E756EB
triadic
#9C56EB #EB9C56 #56EB9C
tetradic
#9C56EB #EB565A #A5EB56 #56EBE7
square
#9C56EB #EB565A #A5EB56 #56EBE7
split-complementary
#9C56EB #EBE756 #5AEB56
monochromatic
#5F15B2 #7C1FE5 #9C56EB #BC8DF1 #DCC3F8

Accessibility & contrast

On white

4.25
#9C56EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9C56EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56EB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56EB#FFFFFF#000000##000000
##9C56EB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#8C7799
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c56eb;
/* rgb */ color: rgb(156, 86, 235);
/* oklch */ color: oklch(60.7% 0.216 301.9);
Tailwind
colors: {
  custom: {
    50: '#be89f2',
    500: '#9c56eb',
    950: '#000000',
  },
}
SCSS
$custom: #9c56eb;
$custom-light: #be89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56eb",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 268.188,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.21605,
    "h": 301.9
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#9C56EB
secondary
#D0E9B4
accent
#DB0A79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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