#9B56E5#9B56E5

#9B56E5 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.209 H 302.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9B56E5
RGBrgb(155, 86, 229)
HSLhsl(269, 73%, 62%)
HSVhsv(269, 62%, 90%)
CMYKcmyk(32.3%, 62.4%, 0%, 10.2%)
CIE-LABlab(51.01, 55.26, -62.03)
CIE-LCHlch(51.01, 83.07, 311.70°)
OKLaboklab(60.16% 0.1133 -0.176)
OKLCHoklch(60.16% 0.209 302.8)
XYZxyz(30.9849, 19.2813, 76.2028)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56E5 #A0E556
analogous
#5659E5 #9B56E5 #E256E5
triadic
#9B56E5 #E59B56 #56E59B
tetradic
#9B56E5 #E55659 #A0E556 #56E5E2
square
#9B56E5 #E55659 #A0E556 #56E5E2
split-complementary
#9B56E5 #E5E256 #59E556
monochromatic
#5E1AA7 #7C22DC #9B56E5 #BA8BED #DAC0F5

Accessibility & contrast

On white

4.32
#9B56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9B56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56E5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56E5#FFFFFF#000000##000000
##9B56E51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#2979E2
Tritanopia (blue-blind)
#8D7596
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b56e5;
/* rgb */ color: rgb(155, 86, 229);
/* oklch */ color: oklch(60.2% 0.209 302.8);
Tailwind
colors: {
  custom: {
    50: '#bd89ee',
    500: '#9b56e5',
    950: '#000000',
  },
}
SCSS
$custom: #9b56e5;
$custom-light: #bd89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56e5",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 268.951,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.20927,
    "h": 302.8
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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