#8B56E1#8B56E1

#8B56E1 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.202 H 297.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8B56E1
RGBrgb(139, 86, 225)
HSLhsl(263, 70%, 61%)
HSVhsv(263, 62%, 88%)
CMYKcmyk(38.2%, 61.8%, 0%, 11.8%)
CIE-LABlab(48.98, 50.85, -63.13)
CIE-LCHlch(48.98, 81.07, 308.85°)
OKLaboklab(58.21% 0.0926 -0.1797)
OKLCHoklch(58.21% 0.202 297.3)
XYZxyz(27.5624, 17.5803, 73.1608)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56E1 #ACE156
analogous
#5666E1 #8B56E1 #D156E1
triadic
#8B56E1 #E18B56 #56E18B
tetradic
#8B56E1 #E15666 #ACE156 #56E1D1
square
#8B56E1 #E15666 #ACE156 #56E1D1
split-complementary
#8B56E1 #E1D156 #66E156
monochromatic
#4F1CA0 #6826D4 #8B56E1 #AF8AEA #D2BEF3

Accessibility & contrast

On white

4.65
#8B56E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8B56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56E1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56E1#FFFFFF#000000##FFFFFF
##8B56E11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0B73DE
Tritanopia (blue-blind)
#767594
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b56e1;
/* rgb */ color: rgb(139, 86, 225);
/* oklch */ color: oklch(58.2% 0.202 297.3);
Tailwind
colors: {
  custom: {
    50: '#b288eb',
    500: '#8b56e1',
    950: '#000000',
  },
}
SCSS
$custom: #8b56e1;
$custom-light: #b288eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56e1",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 262.878,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.20217,
    "h": 297.3
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#8B56E1
secondary
#D0E4AF
accent
#D21489
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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