#8B56FF#8B56FF

#8B56FF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.237 H 292.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8B56FF
RGBrgb(139, 86, 255)
HSLhsl(259, 100%, 67%)
HSVhsv(259, 66%, 100%)
CMYKcmyk(45.5%, 66.3%, 0%, 0%)
CIE-LABlab(51.11, 58.64, -76.50)
CIE-LCHlch(51.11, 96.39, 307.47°)
OKLaboklab(60.41% 0.0895 -0.219)
OKLCHoklch(60.41% 0.237 292.2)
XYZxyz(32.0202, 19.3635, 96.6388)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56FF #CAFF56
analogous
#5675FF #8B56FF #E056FF
triadic
#8B56FF #FF8B56 #56FF8B
tetradic
#8B56FF #FF5675 #CAFF56 #56FFE0
square
#8B56FF #FF5675 #CAFF56 #56FFE0
split-complementary
#8B56FF #FFE056 #75FF56
monochromatic
#4500DB #6119FF #8B56FF #B593FF #DFD0FF

Accessibility & contrast

On white

4.31
#8B56FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8B56FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B56FF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56FF#FFFFFF#000000##000000
##8B56FF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0076FC
Tritanopia (blue-blind)
#687FA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b56ff;
/* rgb */ color: rgb(139, 86, 255);
/* oklch */ color: oklch(60.4% 0.237 292.2);
Tailwind
colors: {
  custom: {
    50: '#b589ff',
    500: '#8b56ff',
    950: '#000000',
  },
}
SCSS
$custom: #8b56ff;
$custom-light: #b589ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56ff",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 258.817,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60409,
    "c": 0.23659,
    "h": 292.2
  },
  "luminance": 0.19365
}

Semantic roles & 50–950 ramp

primary
#8B56FF
secondary
#E2F3BD
accent
#E6009E
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8B56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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