#8B56DC#8B56DC

#8B56DC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.196 H 298.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8B56DC
RGBrgb(139, 86, 220)
HSLhsl(264, 66%, 60%)
HSVhsv(264, 61%, 86%)
CMYKcmyk(36.8%, 60.9%, 0%, 13.7%)
CIE-LABlab(48.65, 49.57, -60.84)
CIE-LCHlch(48.65, 78.48, 309.18°)
OKLaboklab(57.86% 0.0929 -0.173)
OKLCHoklch(57.86% 0.196 298.2)
XYZxyz(26.8903, 17.3115, 69.6210)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56DC #A7DC56
analogous
#5664DC #8B56DC #CE56DC
triadic
#8B56DC #DC8B56 #56DC8B
tetradic
#8B56DC #DC5664 #A7DC56 #56DCCE
square
#8B56DC #DC5664 #A7DC56 #56DCCE
split-complementary
#8B56DC #DCCE56 #64DC56
monochromatic
#4F2098 #6A2ACB #8B56DC #AE89E6 #D1BBF1

Accessibility & contrast

On white

4.71
#8B56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8B56DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56DC#FFFFFF#000000##FFFFFF
##8B56DC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#787391
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b56dc;
/* rgb */ color: rgb(139, 86, 220);
/* oklch */ color: oklch(57.9% 0.196 298.2);
Tailwind
colors: {
  custom: {
    50: '#b288e8',
    500: '#8b56dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b56dc;
$custom-light: #b288e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56dc",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 263.731,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.57857,
    "c": 0.19633,
    "h": 298.2
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#8B56DC
secondary
#CCE1AD
accent
#E93FA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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