#9B56E9#9B56E9

#9B56E9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.214 H 301.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9B56E9
RGBrgb(155, 86, 233)
HSLhsl(268, 77%, 63%)
HSVhsv(268, 63%, 91%)
CMYKcmyk(33.5%, 63.1%, 0%, 8.6%)
CIE-LABlab(51.28, 56.22, -63.86)
CIE-LCHlch(51.28, 85.08, 311.36°)
OKLaboklab(60.43% 0.113 -0.1813)
OKLCHoklch(60.43% 0.214 301.9)
XYZxyz(31.5499, 19.5072, 79.1781)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56E9 #A4E956
analogous
#565BE9 #9B56E9 #E456E9
triadic
#9B56E9 #E99B56 #56E99B
tetradic
#9B56E9 #E9565B #A4E956 #56E9E4
square
#9B56E9 #E9565B #A4E956 #56E9E4
split-complementary
#9B56E9 #E9E456 #5BE956
monochromatic
#5E17AE #7B20E2 #9B56E9 #BB8CF0 #DBC2F7

Accessibility & contrast

On white

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

On black

4.90
#9B56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56E9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56E9#FFFFFF#000000##000000
##9B56E91.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#207AE6
Tritanopia (blue-blind)
#8B7698
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b56e9;
/* rgb */ color: rgb(155, 86, 233);
/* oklch */ color: oklch(60.4% 0.214 301.9);
Tailwind
colors: {
  custom: {
    50: '#bd89f1',
    500: '#9b56e9',
    950: '#000000',
  },
}
SCSS
$custom: #9b56e9;
$custom-light: #bd89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56e9",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 268.163,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.21367,
    "h": 301.9
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#9B56E9
secondary
#CFE8B3
accent
#D90C79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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