#9D56BF#9D56BF

#9D56BF is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.0% C 0.168 H 313.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9D56BF
RGBrgb(157, 86, 191)
HSLhsl(281, 45%, 54%)
HSVhsv(281, 55%, 75%)
CMYKcmyk(17.8%, 55%, 0%, 25.1%)
CIE-LABlab(48.99, 47.07, -43.55)
CIE-LCHlch(48.99, 64.12, 317.22°)
OKLaboklab(58.01% 0.1158 -0.1218)
OKLCHoklch(58.01% 0.168 313.6)
XYZxyz(26.6348, 17.5860, 51.2715)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D56BF #78BF56
analogous
#6956BF #9D56BF #BF56AD
triadic
#9D56BF #BF9D56 #56BF9D
tetradic
#9D56BF #BF6956 #78BF56 #56ADBF
square
#9D56BF #BF6956 #78BF56 #56ADBF
split-complementary
#9D56BF #ADBF56 #56BF69
monochromatic
#5A2A70 #7D3B9D #9D56BF #B782D0 #D0AFE1

Accessibility & contrast

On white

4.65
#9D56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9D56BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D56BF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D56BF#FFFFFF#000000##FFFFFF
##9D56BF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C2
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#9A6882
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d56bf;
/* rgb */ color: rgb(157, 86, 191);
/* oklch */ color: oklch(58.0% 0.168 313.6);
Tailwind
colors: {
  custom: {
    50: '#bc88d3',
    500: '#9d56bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d56bf;
$custom-light: #bc88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d56bf",
  "rgb": {
    "r": 157,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 280.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58009,
    "c": 0.16805,
    "h": 313.6
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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