#8B56D2#8B56D2

#8B56D2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.185 H 300.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B56D2
RGBrgb(139, 86, 210)
HSLhsl(266, 58%, 58%)
HSVhsv(266, 59%, 82%)
CMYKcmyk(33.8%, 59%, 0%, 17.6%)
CIE-LABlab(48.00, 47.05, -56.18)
CIE-LCHlch(48.00, 73.27, 309.94°)
OKLaboklab(57.18% 0.0932 -0.1593)
OKLCHoklch(57.18% 0.185 300.3)
XYZxyz(25.6053, 16.7975, 62.8535)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56D2 #9DD256
analogous
#565FD2 #8B56D2 #C956D2
triadic
#8B56D2 #D28B56 #56D28B
tetradic
#8B56D2 #D2565F #9DD256 #56D2C9
square
#8B56D2 #D2565F #9DD256 #56D2C9
split-complementary
#8B56D2 #D2C956 #5FD256
monochromatic
#4F2589 #6C31B9 #8B56D2 #AC86DF #CDB7EC

Accessibility & contrast

On white

4.82
#8B56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8B56D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56D2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56D2#FFFFFF#000000##FFFFFF
##8B56D21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1071D6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#7C708C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b56d2;
/* rgb */ color: rgb(139, 86, 210);
/* oklch */ color: oklch(57.2% 0.185 300.3);
Tailwind
colors: {
  custom: {
    50: '#b188e0',
    500: '#8b56d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b56d2;
$custom-light: #b188e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56d2",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 265.645,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.18456,
    "h": 300.3
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#8B56D2
secondary
#C5DBA9
accent
#E1479F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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