#9B56E7#9B56E7

#9B56E7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.211 H 302.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9B56E7
RGBrgb(155, 86, 231)
HSLhsl(269, 75%, 62%)
HSVhsv(269, 63%, 91%)
CMYKcmyk(32.9%, 62.8%, 0%, 9.4%)
CIE-LABlab(51.14, 55.74, -62.94)
CIE-LCHlch(51.14, 84.08, 311.53°)
OKLaboklab(60.3% 0.1131 -0.1786)
OKLCHoklch(60.3% 0.211 302.3)
XYZxyz(31.2658, 19.3936, 77.6820)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56E7 #A2E756
analogous
#5659E7 #9B56E7 #E456E7
triadic
#9B56E7 #E79B56 #56E79B
tetradic
#9B56E7 #E75659 #A2E756 #56E7E4
square
#9B56E7 #E75659 #A2E756 #56E7E4
split-complementary
#9B56E7 #E7E456 #59E756
monochromatic
#5E18AA #7B20DF #9B56E7 #BB8CEF #DAC1F6

Accessibility & contrast

On white

4.30
#9B56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9B56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56E7#FFFFFF#000000##000000
##9B56E71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#8C7597
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b56e7;
/* rgb */ color: rgb(155, 86, 231);
/* oklch */ color: oklch(60.3% 0.211 302.3);
Tailwind
colors: {
  custom: {
    50: '#bd89ef',
    500: '#9b56e7',
    950: '#000000',
  },
}
SCSS
$custom: #9b56e7;
$custom-light: #bd89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56e7",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 268.552,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.21146,
    "h": 302.3
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#9B56E7
secondary
#CEE7B2
accent
#D70E78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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