#8B56EF#8B56EF

#8B56EF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.218 H 294.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8B56EF
RGBrgb(139, 86, 239)
HSLhsl(261, 83%, 64%)
HSVhsv(261, 64%, 94%)
CMYKcmyk(41.8%, 64%, 0%, 6.3%)
CIE-LABlab(49.95, 54.46, -69.46)
CIE-LCHlch(49.95, 88.27, 308.10°)
OKLaboklab(59.21% 0.0914 -0.1983)
OKLCHoklch(59.21% 0.218 294.8)
XYZxyz(29.5511, 18.3758, 83.6345)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56EF #BAEF56
analogous
#566DEF #8B56EF #D756EF
triadic
#8B56EF #EF8B56 #56EF8B
tetradic
#8B56EF #EF566D #BAEF56 #56EFD7
square
#8B56EF #EF566D #BAEF56 #56EFD7
split-complementary
#8B56EF #EFD756 #6DEF56
monochromatic
#4C12B9 #651EEA #8B56EF #B18EF4 #D8C6FA

Accessibility & contrast

On white

4.49
#8B56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8B56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B56EF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56EF#FFFFFF#000000##000000
##8B56EF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#707A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b56ef;
/* rgb */ color: rgb(139, 86, 239);
/* oklch */ color: oklch(59.2% 0.218 294.8);
Tailwind
colors: {
  custom: {
    50: '#b488f5',
    500: '#8b56ef',
    950: '#000000',
  },
}
SCSS
$custom: #8b56ef;
$custom-light: #b488f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56ef",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 260.784,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.21838,
    "h": 294.8
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#8B56EF
secondary
#D9EBB5
accent
#DF0694
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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