#9B56E6#9B56E6

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

Color values

HEX#9B56E6
RGBrgb(155, 86, 230)
HSLhsl(269, 74%, 62%)
HSVhsv(269, 63%, 90%)
CMYKcmyk(32.6%, 62.6%, 0%, 9.8%)
CIE-LABlab(51.08, 55.50, -62.49)
CIE-LCHlch(51.08, 83.57, 311.61°)
OKLaboklab(60.23% 0.1132 -0.1773)
OKLCHoklch(60.23% 0.21 302.6)
XYZxyz(31.1250, 19.3373, 76.9403)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56E6 #A1E656
analogous
#5659E6 #9B56E6 #E356E6
triadic
#9B56E6 #E69B56 #56E69B
tetradic
#9B56E6 #E65659 #A1E656 #56E6E3
square
#9B56E6 #E65659 #A1E656 #56E6E3
split-complementary
#9B56E6 #E6E356 #59E656
monochromatic
#5E19A9 #7B21DE #9B56E6 #BB8BEE #DAC1F6

Accessibility & contrast

On white

4.31
#9B56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9B56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56E6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56E6#FFFFFF#000000##000000
##9B56E61.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#8C7596
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b56e6;
/* rgb */ color: rgb(155, 86, 230);
/* oklch */ color: oklch(60.2% 0.210 302.6);
Tailwind
colors: {
  custom: {
    50: '#bd89ef',
    500: '#9b56e6',
    950: '#000000',
  },
}
SCSS
$custom: #9b56e6;
$custom-light: #bd89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56e6",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 268.75,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.21037,
    "h": 302.6
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#9B56E6
secondary
#CDE6B1
accent
#D60F77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9B56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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