#8D56BA#8D56BA

#8D56BA is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.157 H 307.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D56BA
RGBrgb(141, 86, 186)
HSLhsl(273, 42%, 53%)
HSVhsv(273, 54%, 73%)
CMYKcmyk(24.2%, 53.8%, 0%, 27.1%)
CIE-LABlab(46.80, 41.69, -44.25)
CIE-LCHlch(46.80, 60.80, 313.29°)
OKLaboklab(55.88% 0.0953 -0.1243)
OKLCHoklch(55.88% 0.157 307.5)
XYZxyz(23.1734, 15.8637, 48.2861)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56BA #83BA56
analogous
#5B56BA #8D56BA #BA56B5
triadic
#8D56BA #BA8D56 #56BA8D
tetradic
#8D56BA #BA5B56 #83BA56 #56B5BA
square
#8D56BA #BA5B56 #83BA56 #56B5BA
split-complementary
#8D56BA #B5BA56 #56BA5B
monochromatic
#4E2B6A #6E3D96 #8D56BA #AA81CC #C8ADDD

Accessibility & contrast

On white

5.03
#8D56BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8D56BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56BA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56BA#FFFFFF#000000##FFFFFF
##8D56BA1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#496FB8
Tritanopia (blue-blind)
#866880
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d56ba;
/* rgb */ color: rgb(141, 86, 186);
/* oklch */ color: oklch(55.9% 0.157 307.5);
Tailwind
colors: {
  custom: {
    50: '#b187cf',
    500: '#8d56ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d56ba;
$custom-light: #b187cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56ba",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 273,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.1566,
    "h": 307.5
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#8D56BA
secondary
#B4CBA0
accent
#D2568E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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