#9B56DD#9B56DD

#9B56DD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.200 H 304.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9B56DD
RGBrgb(155, 86, 221)
HSLhsl(271, 67%, 60%)
HSVhsv(271, 61%, 87%)
CMYKcmyk(29.9%, 61.1%, 0%, 13.3%)
CIE-LABlab(50.51, 53.37, -58.32)
CIE-LCHlch(50.51, 79.06, 312.46°)
OKLaboklab(59.63% 0.1137 -0.1651)
OKLCHoklch(59.63% 0.2 304.6)
XYZxyz(29.8936, 18.8447, 70.4551)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56DD #98DD56
analogous
#5856DD #9B56DD #DD56DB
triadic
#9B56DD #DD9B56 #56DD9B
tetradic
#9B56DD #DD5856 #98DD56 #56DBDD
square
#9B56DD #DD5856 #98DD56 #56DBDD
split-complementary
#9B56DD #DBDD56 #56DD58
monochromatic
#5E1F9A #7D29CD #9B56DD #B989E7 #D7BCF2

Accessibility & contrast

On white

4.40
#9B56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9B56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56DD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56DD#FFFFFF#000000##000000
##9B56DD1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#8F7292
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b56dd;
/* rgb */ color: rgb(155, 86, 221);
/* oklch */ color: oklch(59.6% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#bd89e8',
    500: '#9b56dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b56dd;
$custom-light: #bd89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56dd",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 270.667,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59628,
    "c": 0.20044,
    "h": 304.6
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#9B56DD
secondary
#C7E1AE
accent
#CE1771
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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