#9B56CD#9B56CD

#9B56CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.183 H 308.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B56CD
RGBrgb(155, 86, 205)
HSLhsl(275, 54%, 57%)
HSVhsv(275, 58%, 80%)
CMYKcmyk(24.4%, 58%, 0%, 19.6%)
CIE-LABlab(49.54, 49.67, -50.76)
CIE-LCHlch(49.54, 71.02, 314.38°)
OKLaboklab(58.61% 0.1139 -0.1429)
OKLCHoklch(58.61% 0.183 308.6)
XYZxyz(27.8626, 18.0323, 59.7586)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56CD #88CD56
analogous
#6056CD #9B56CD #CD56C4
triadic
#9B56CD #CD9B56 #56CD9B
tetradic
#9B56CD #CD6056 #88CD56 #56C4CD
square
#9B56CD #CD6056 #88CD56 #56C4CD
split-complementary
#9B56CD #C4CD56 #56CD60
monochromatic
#5C2682 #7D34B1 #9B56CD #B785DB #D3B4E9

Accessibility & contrast

On white

4.56
#9B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9B56CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56CD#FFFFFF#000000##000000
##9B56CD1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#946C89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b56cd;
/* rgb */ color: rgb(155, 86, 205);
/* oklch */ color: oklch(58.6% 0.183 308.6);
Tailwind
colors: {
  custom: {
    50: '#bc89dd',
    500: '#9b56cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b56cd;
$custom-light: #bc89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56cd",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 274.79,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.18272,
    "h": 308.6
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#9B56CD
secondary
#BCD8A7
accent
#DE4A88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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