#9B56CB#9B56CB

#9B56CB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.180 H 309.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9B56CB
RGBrgb(155, 86, 203)
HSLhsl(275, 53%, 57%)
HSVhsv(275, 58%, 80%)
CMYKcmyk(23.6%, 57.6%, 0%, 20.4%)
CIE-LABlab(49.42, 49.21, -49.79)
CIE-LCHlch(49.42, 70.01, 314.66°)
OKLaboklab(58.49% 0.1138 -0.1401)
OKLCHoklch(58.49% 0.181 309.1)
XYZxyz(27.6227, 17.9364, 58.4952)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56CB #86CB56
analogous
#6156CB #9B56CB #CB56C0
triadic
#9B56CB #CB9B56 #56CB9B
tetradic
#9B56CB #CB6156 #86CB56 #56C0CB
square
#9B56CB #CB6156 #86CB56 #56C0CB
split-complementary
#9B56CB #C0CB56 #56CB61
monochromatic
#5B277F #7D36AE #9B56CB #B785D9 #D2B4E8

Accessibility & contrast

On white

4.58
#9B56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9B56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56CB#FFFFFF#000000##000000
##9B56CB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73CF
Deuteranopia (green-blind)
#4876C8
Tritanopia (blue-blind)
#946C88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b56cb;
/* rgb */ color: rgb(155, 86, 203);
/* oklch */ color: oklch(58.5% 0.180 309.1);
Tailwind
colors: {
  custom: {
    50: '#bc89db',
    500: '#9b56cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b56cb;
$custom-light: #bc89db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56cb",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 275.385,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.1805,
    "h": 309.1
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#9B56CB
secondary
#BAD6A6
accent
#DC4B87
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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