#9B56E8#9B56E8

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

Color values

HEX#9B56E8
RGBrgb(155, 86, 232)
HSLhsl(268, 76%, 62%)
HSVhsv(268, 63%, 91%)
CMYKcmyk(33.2%, 62.9%, 0%, 9%)
CIE-LABlab(51.21, 55.98, -63.40)
CIE-LCHlch(51.21, 84.58, 311.44°)
OKLaboklab(60.36% 0.1131 -0.18)
OKLCHoklch(60.36% 0.213 302.1)
XYZxyz(31.4074, 19.4503, 78.4279)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56E8 #A3E856
analogous
#565AE8 #9B56E8 #E456E8
triadic
#9B56E8 #E89B56 #56E89B
tetradic
#9B56E8 #E8565A #A3E856 #56E8E4
square
#9B56E8 #E8565A #A3E856 #56E8E4
split-complementary
#9B56E8 #E8E456 #5AE856
monochromatic
#5E17AC #7B20E1 #9B56E8 #BB8CEF #DBC2F7

Accessibility & contrast

On white

4.29
#9B56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B56E8#FFFFFF#000000##000000
##9B56E81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#2379E5
Tritanopia (blue-blind)
#8B7697
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b56e8;
/* rgb */ color: rgb(155, 86, 232);
/* oklch */ color: oklch(60.4% 0.213 302.1);
Tailwind
colors: {
  custom: {
    50: '#bd89f0',
    500: '#9b56e8',
    950: '#000000',
  },
}
SCSS
$custom: #9b56e8;
$custom-light: #bd89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56e8",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 268.356,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.21257,
    "h": 302.1
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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