#8B56CF#8B56CF

#8B56CF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.181 H 301.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8B56CF
RGBrgb(139, 86, 207)
HSLhsl(266, 56%, 57%)
HSVhsv(266, 58%, 81%)
CMYKcmyk(32.9%, 58.5%, 0%, 18.8%)
CIE-LABlab(47.82, 46.29, -54.76)
CIE-LCHlch(47.82, 71.71, 310.21°)
OKLaboklab(56.98% 0.0933 -0.1551)
OKLCHoklch(56.98% 0.181 301)
XYZxyz(25.2351, 16.6494, 60.9036)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56CF #9ACF56
analogous
#565ECF #8B56CF #C756CF
triadic
#8B56CF #CF8B56 #56CF8B
tetradic
#8B56CF #CF565E #9ACF56 #56CFC7
square
#8B56CF #CF565E #9ACF56 #56CFC7
split-complementary
#8B56CF #CFC756 #5ECF56
monochromatic
#4F2685 #6C33B5 #8B56CF #AC86DD #CCB5EA

Accessibility & contrast

On white

4.85
#8B56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8B56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56CF#FFFFFF#000000##FFFFFF
##8B56CF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#7D6F8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b56cf;
/* rgb */ color: rgb(139, 86, 207);
/* oklch */ color: oklch(57.0% 0.181 301.0);
Tailwind
colors: {
  custom: {
    50: '#b188de',
    500: '#8b56cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b56cf;
$custom-light: #b188de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56cf",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 266.281,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.18101,
    "h": 301
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#8B56CF
secondary
#C3D9A8
accent
#DF499D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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