#8D56BF#8D56BF

#8D56BF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.163 H 306.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D56BF
RGBrgb(141, 86, 191)
HSLhsl(271, 45%, 54%)
HSVhsv(271, 55%, 75%)
CMYKcmyk(26.2%, 55%, 0%, 25.1%)
CIE-LABlab(47.08, 42.88, -46.70)
CIE-LCHlch(47.08, 63.40, 312.56°)
OKLaboklab(56.18% 0.0956 -0.1314)
OKLCHoklch(56.18% 0.163 306)
XYZxyz(23.7143, 16.0801, 51.1346)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56BF #88BF56
analogous
#5956BF #8D56BF #BF56BC
triadic
#8D56BF #BF8D56 #56BF8D
tetradic
#8D56BF #BF5956 #88BF56 #56BCBF
square
#8D56BF #BF5956 #88BF56 #56BCBF
split-complementary
#8D56BF #BCBF56 #56BF59
monochromatic
#4F2A70 #6E3B9D #8D56BF #AB82D0 #C9AFE1

Accessibility & contrast

On white

4.98
#8D56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8D56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56BF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56BF#FFFFFF#000000##FFFFFF
##8D56BF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#856982
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d56bf;
/* rgb */ color: rgb(141, 86, 191);
/* oklch */ color: oklch(56.2% 0.163 306.0);
Tailwind
colors: {
  custom: {
    50: '#b188d3',
    500: '#8d56bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d56bf;
$custom-light: #b188d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56bf",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 271.429,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.16251,
    "h": 306
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#8D56BF
secondary
#B7CFA2
accent
#D55391
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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