#8B56EA#8B56EA

#8B56EA is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.213 H 295.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8B56EA
RGBrgb(139, 86, 234)
HSLhsl(261, 78%, 63%)
HSVhsv(261, 63%, 92%)
CMYKcmyk(40.6%, 63.2%, 0%, 8.2%)
CIE-LABlab(49.60, 53.17, -67.22)
CIE-LCHlch(49.60, 85.70, 308.34°)
OKLaboklab(58.85% 0.0919 -0.1917)
OKLCHoklch(58.85% 0.213 295.6)
XYZxyz(28.8226, 18.0844, 79.7980)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56EA #B5EA56
analogous
#566BEA #8B56EA #D556EA
triadic
#8B56EA #EA8B56 #56EA8B
tetradic
#8B56EA #EA566B #B5EA56 #56EAD5
square
#8B56EA #EA566B #B5EA56 #56EAD5
split-complementary
#8B56EA #EAD556 #6BEA56
monochromatic
#4D16B0 #6620E3 #8B56EA #B08CF1 #D6C3F8

Accessibility & contrast

On white

4.55
#8B56EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8B56EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B56EA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56EA#FFFFFF#000000##000000
##8B56EA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#737898
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b56ea;
/* rgb */ color: rgb(139, 86, 234);
/* oklch */ color: oklch(58.8% 0.213 295.6);
Tailwind
colors: {
  custom: {
    50: '#b388f2',
    500: '#8b56ea',
    950: '#000000',
  },
}
SCSS
$custom: #8b56ea;
$custom-light: #b388f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56ea",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 261.486,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.21262,
    "h": 295.6
  },
  "luminance": 0.18085
}

Semantic roles & 50–950 ramp

primary
#8B56EA
secondary
#D5E9B3
accent
#DA0B90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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