#9B56CF#9B56CF

#9B56CF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.185 H 308.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B56CF
RGBrgb(155, 86, 207)
HSLhsl(274, 56%, 57%)
HSVhsv(274, 58%, 81%)
CMYKcmyk(25.1%, 58.5%, 0%, 18.8%)
CIE-LABlab(49.65, 50.12, -51.71)
CIE-LCHlch(49.65, 72.02, 314.11°)
OKLaboklab(58.73% 0.1139 -0.1457)
OKLCHoklch(58.73% 0.185 308)
XYZxyz(28.1056, 18.1295, 61.0381)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56CF #8ACF56
analogous
#5F56CF #9B56CF #CF56C6
triadic
#9B56CF #CF9B56 #56CF9B
tetradic
#9B56CF #CF5F56 #8ACF56 #56C6CF
square
#9B56CF #CF5F56 #8ACF56 #56C6CF
split-complementary
#9B56CF #C6CF56 #56CF5F
monochromatic
#5C2685 #7D33B5 #9B56CF #B786DD #D3B5EA

Accessibility & contrast

On white

4.54
#9B56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9B56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56CF#FFFFFF#000000##000000
##9B56CF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#936D8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b56cf;
/* rgb */ color: rgb(155, 86, 207);
/* oklch */ color: oklch(58.7% 0.185 308.0);
Tailwind
colors: {
  custom: {
    50: '#bc89de',
    500: '#9b56cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b56cf;
$custom-light: #bc89de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56cf",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 274.215,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58734,
    "c": 0.18493,
    "h": 308
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#9B56CF
secondary
#BDD9A8
accent
#DF4989
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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