#9B56CC#9B56CC

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

Color values

HEX#9B56CC
RGBrgb(155, 86, 204)
HSLhsl(275, 54%, 57%)
HSVhsv(275, 58%, 80%)
CMYKcmyk(24%, 57.8%, 0%, 20%)
CIE-LABlab(49.48, 49.44, -50.28)
CIE-LCHlch(49.48, 70.51, 314.52°)
OKLaboklab(58.55% 0.1139 -0.1415)
OKLCHoklch(58.55% 0.182 308.8)
XYZxyz(27.7423, 17.9842, 59.1249)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56CC #87CC56
analogous
#6056CC #9B56CC #CC56C2
triadic
#9B56CC #CC9B56 #56CC9B
tetradic
#9B56CC #CC6056 #87CC56 #56C2CC
square
#9B56CC #CC6056 #87CC56 #56C2CC
split-complementary
#9B56CC #C2CC56 #56CC60
monochromatic
#5B2781 #7D35B0 #9B56CC #B785DA #D3B4E8

Accessibility & contrast

On white

4.57
#9B56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9B56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56CC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56CC#FFFFFF#000000##000000
##9B56CC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D0
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#946C89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b56cc;
/* rgb */ color: rgb(155, 86, 204);
/* oklch */ color: oklch(58.5% 0.182 308.8);
Tailwind
colors: {
  custom: {
    50: '#bc89dc',
    500: '#9b56cc',
    950: '#000000',
  },
}
SCSS
$custom: #9b56cc;
$custom-light: #bc89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56cc",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 275.085,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.18161,
    "h": 308.8
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#9B56CC
secondary
#BBD7A7
accent
#DD4B88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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