#9B56BF#9B56BF

#9B56BF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.167 H 312.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9B56BF
RGBrgb(155, 86, 191)
HSLhsl(279, 45%, 54%)
HSVhsv(279, 55%, 75%)
CMYKcmyk(18.8%, 55%, 0%, 25.1%)
CIE-LABlab(48.74, 46.54, -43.95)
CIE-LCHlch(48.74, 64.01, 316.64°)
OKLaboklab(57.77% 0.1133 -0.123)
OKLCHoklch(57.77% 0.167 312.7)
XYZxyz(26.2477, 17.3864, 51.2533)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56BF #7ABF56
analogous
#6756BF #9B56BF #BF56AE
triadic
#9B56BF #BF9B56 #56BF9B
tetradic
#9B56BF #BF6756 #7ABF56 #56AEBF
square
#9B56BF #BF6756 #7ABF56 #56AEBF
split-complementary
#9B56BF #AEBF56 #56BF67
monochromatic
#582A70 #7B3B9D #9B56BF #B582D0 #D0AFE1

Accessibility & contrast

On white

4.69
#9B56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9B56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B56BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56BF#FFFFFF#000000##FFFFFF
##9B56BF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#976882
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b56bf;
/* rgb */ color: rgb(155, 86, 191);
/* oklch */ color: oklch(57.8% 0.167 312.7);
Tailwind
colors: {
  custom: {
    50: '#bb88d3',
    500: '#9b56bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b56bf;
$custom-light: #bb88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56bf",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 279.429,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.16725,
    "h": 312.7
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#9B56BF
secondary
#B1CFA2
accent
#D55380
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9B56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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