#8B56EC#8B56EC

#8B56EC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.215 H 295.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8B56EC
RGBrgb(139, 86, 236)
HSLhsl(261, 80%, 63%)
HSVhsv(261, 64%, 93%)
CMYKcmyk(41.1%, 63.6%, 0%, 7.5%)
CIE-LABlab(49.74, 53.69, -68.12)
CIE-LCHlch(49.74, 86.73, 308.24°)
OKLaboklab(58.99% 0.0917 -0.1944)
OKLCHoklch(58.99% 0.215 295.3)
XYZxyz(29.1116, 18.2000, 81.3198)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56EC #B7EC56
analogous
#566CEC #8B56EC #D656EC
triadic
#8B56EC #EC8B56 #56EC8B
tetradic
#8B56EC #EC566C #B7EC56 #56ECD6
square
#8B56EC #EC566C #B7EC56 #56ECD6
split-complementary
#8B56EC #ECD656 #6CEC56
monochromatic
#4C14B3 #651FE6 #8B56EC #B18DF2 #D7C4F8

Accessibility & contrast

On white

4.53
#8B56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8B56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B56EC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56EC#FFFFFF#000000##000000
##8B56EC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#727999
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b56ec;
/* rgb */ color: rgb(139, 86, 236);
/* oklch */ color: oklch(59.0% 0.215 295.3);
Tailwind
colors: {
  custom: {
    50: '#b388f3',
    500: '#8b56ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b56ec;
$custom-light: #b388f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56ec",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 261.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.21492,
    "h": 295.3
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#8B56EC
secondary
#D7EAB4
accent
#DC0992
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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