#8B56BF#8B56BF

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

Color values

HEX#8B56BF
RGBrgb(139, 86, 191)
HSLhsl(270, 45%, 54%)
HSVhsv(270, 55%, 75%)
CMYKcmyk(27.2%, 55%, 0%, 25.1%)
CIE-LABlab(46.85, 42.36, -47.08)
CIE-LCHlch(46.85, 63.33, 311.98°)
OKLaboklab(55.96% 0.093 -0.1326)
OKLCHoklch(55.96% 0.162 305)
XYZxyz(23.3772, 15.9063, 51.1188)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56BF #8ABF56
analogous
#5756BF #8B56BF #BF56BE
triadic
#8B56BF #BF8B56 #56BF8B
tetradic
#8B56BF #BF5756 #8ABF56 #56BEBF
square
#8B56BF #BF5756 #8ABF56 #56BEBF
split-complementary
#8B56BF #BEBF56 #56BF57
monochromatic
#4E2A70 #6C3B9D #8B56BF #A982D0 #C8AFE1

Accessibility & contrast

On white

5.02
#8B56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8B56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56BF#FFFFFF#000000##FFFFFF
##8B56BF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#826A82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b56bf;
/* rgb */ color: rgb(139, 86, 191);
/* oklch */ color: oklch(56.0% 0.162 305.0);
Tailwind
colors: {
  custom: {
    50: '#b087d3',
    500: '#8b56bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b56bf;
$custom-light: #b087d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56bf",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 270.286,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.16196,
    "h": 305
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#8B56BF
secondary
#B8CFA2
accent
#D55393
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8B56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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