#8D56BC#8D56BC

#8D56BC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.159 H 306.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8D56BC
RGBrgb(141, 86, 188)
HSLhsl(272, 43%, 54%)
HSVhsv(272, 54%, 74%)
CMYKcmyk(25%, 54.3%, 0%, 26.3%)
CIE-LABlab(46.91, 42.16, -45.23)
CIE-LCHlch(46.91, 61.84, 312.99°)
OKLaboklab(56% 0.0954 -0.1271)
OKLCHoklch(56% 0.159 306.9)
XYZxyz(23.3875, 15.9494, 49.4137)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56BC #85BC56
analogous
#5A56BC #8D56BC #BC56B8
triadic
#8D56BC #BC8D56 #56BC8D
tetradic
#8D56BC #BC5A56 #85BC56 #56B8BC
square
#8D56BC #BC5A56 #85BC56 #56B8BC
split-complementary
#8D56BC #B8BC56 #56BC5A
monochromatic
#4E2B6D #6E3C98 #8D56BC #AB82CD #C8AEDF

Accessibility & contrast

On white

5.01
#8D56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8D56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56BC#FFFFFF#000000##FFFFFF
##8D56BC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#866981
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d56bc;
/* rgb */ color: rgb(141, 86, 188);
/* oklch */ color: oklch(56.0% 0.159 306.9);
Tailwind
colors: {
  custom: {
    50: '#b187d1',
    500: '#8d56bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d56bc;
$custom-light: #b187d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56bc",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 272.353,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.15896,
    "h": 306.9
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#8D56BC
secondary
#B5CDA1
accent
#D3558F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D56BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8D56BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva