#8B56CE#8B56CE

#8B56CE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.180 H 301.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8B56CE
RGBrgb(139, 86, 206)
HSLhsl(267, 55%, 57%)
HSVhsv(267, 58%, 81%)
CMYKcmyk(32.5%, 58.3%, 0%, 19.2%)
CIE-LABlab(47.75, 46.04, -54.29)
CIE-LCHlch(47.75, 71.18, 310.30°)
OKLaboklab(56.92% 0.0933 -0.1537)
OKLCHoklch(56.92% 0.18 301.3)
XYZxyz(25.1132, 16.6007, 60.2617)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56CE #99CE56
analogous
#565DCE #8B56CE #C756CE
triadic
#8B56CE #CE8B56 #56CE8B
tetradic
#8B56CE #CE565D #99CE56 #56CEC7
square
#8B56CE #CE565D #99CE56 #56CEC7
split-complementary
#8B56CE #CEC756 #5DCE56
monochromatic
#4F2683 #6C34B3 #8B56CE #AC85DC #CCB5EA

Accessibility & contrast

On white

4.86
#8B56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8B56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56CE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56CE#FFFFFF#000000##FFFFFF
##8B56CE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#3471CB
Tritanopia (blue-blind)
#7D6F8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b56ce;
/* rgb */ color: rgb(139, 86, 206);
/* oklch */ color: oklch(56.9% 0.180 301.3);
Tailwind
colors: {
  custom: {
    50: '#b188de',
    500: '#8b56ce',
    950: '#000000',
  },
}
SCSS
$custom: #8b56ce;
$custom-light: #b188de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56ce",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 266.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.17983,
    "h": 301.3
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#8B56CE
secondary
#C3D8A8
accent
#DE499D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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