#8D56BE#8D56BE

#8D56BE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.1% C 0.161 H 306.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D56BE
RGBrgb(141, 86, 190)
HSLhsl(272, 44%, 54%)
HSVhsv(272, 55%, 75%)
CMYKcmyk(25.8%, 54.7%, 0%, 25.5%)
CIE-LABlab(47.02, 42.64, -46.21)
CIE-LCHlch(47.02, 62.88, 312.70°)
OKLaboklab(56.12% 0.0955 -0.13)
OKLCHoklch(56.12% 0.161 306.3)
XYZxyz(23.6046, 16.0362, 50.5570)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56BE #87BE56
analogous
#5956BE #8D56BE #BE56BB
triadic
#8D56BE #BE8D56 #56BE8D
tetradic
#8D56BE #BE5956 #87BE56 #56BBBE
square
#8D56BE #BE5956 #87BE56 #56BBBE
split-complementary
#8D56BE #BBBE56 #56BE59
monochromatic
#4F2B6F #6E3C9B #8D56BE #AB82CF #C9AEE0

Accessibility & contrast

On white

4.99
#8D56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8D56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56BE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56BE#FFFFFF#000000##FFFFFF
##8D56BE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC1
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#856982
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d56be;
/* rgb */ color: rgb(141, 86, 190);
/* oklch */ color: oklch(56.1% 0.161 306.3);
Tailwind
colors: {
  custom: {
    50: '#b188d2',
    500: '#8d56be',
    950: '#000000',
  },
}
SCSS
$custom: #8d56be;
$custom-light: #b188d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56be",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 271.731,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.16133,
    "h": 306.3
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#8D56BE
secondary
#B7CEA2
accent
#D45490
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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