#8B56E5#8B56E5

#8B56E5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.207 H 296.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8B56E5
RGBrgb(139, 86, 229)
HSLhsl(262, 73%, 62%)
HSVhsv(262, 62%, 90%)
CMYKcmyk(39.3%, 62.4%, 0%, 10.2%)
CIE-LABlab(49.25, 51.88, -64.96)
CIE-LCHlch(49.25, 83.13, 308.61°)
OKLaboklab(58.49% 0.0923 -0.1851)
OKLCHoklch(58.49% 0.207 296.5)
XYZxyz(28.1144, 17.8012, 76.0683)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56E5 #B0E556
analogous
#5669E5 #8B56E5 #D356E5
triadic
#8B56E5 #E58B56 #56E58B
tetradic
#8B56E5 #E55669 #B0E556 #56E5D3
square
#8B56E5 #E55669 #B0E556 #56E5D3
split-complementary
#8B56E5 #E5D356 #69E556
monochromatic
#4E1AA7 #6722DC #8B56E5 #AF8BED #D4C0F5

Accessibility & contrast

On white

4.60
#8B56E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8B56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56E5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56E5#FFFFFF#000000##FFFFFF
##8B56E51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#757696
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b56e5;
/* rgb */ color: rgb(139, 86, 229);
/* oklch */ color: oklch(58.5% 0.207 296.5);
Tailwind
colors: {
  custom: {
    50: '#b388ee',
    500: '#8b56e5',
    950: '#000000',
  },
}
SCSS
$custom: #8b56e5;
$custom-light: #b388ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56e5",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 262.238,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.20683,
    "h": 296.5
  },
  "luminance": 0.17802
}

Semantic roles & 50–950 ramp

primary
#8B56E5
secondary
#D2E6B1
accent
#D5108C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8B56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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