#8B56E6#8B56E6

#8B56E6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.208 H 296.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8B56E6
RGBrgb(139, 86, 230)
HSLhsl(262, 74%, 62%)
HSVhsv(262, 63%, 90%)
CMYKcmyk(39.6%, 62.6%, 0%, 9.8%)
CIE-LABlab(49.32, 52.14, -65.41)
CIE-LCHlch(49.32, 83.65, 308.56°)
OKLaboklab(58.56% 0.0922 -0.1864)
OKLCHoklch(58.56% 0.208 296.3)
XYZxyz(28.2545, 17.8572, 76.8057)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56E6 #B1E656
analogous
#5669E6 #8B56E6 #D356E6
triadic
#8B56E6 #E68B56 #56E68B
tetradic
#8B56E6 #E65669 #B1E656 #56E6D3
square
#8B56E6 #E65669 #B1E656 #56E6D3
split-complementary
#8B56E6 #E6D356 #69E656
monochromatic
#4E19A9 #6621DE #8B56E6 #B08BEE #D4C1F6

Accessibility & contrast

On white

4.59
#8B56E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8B56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56E6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56E6#FFFFFF#000000##FFFFFF
##8B56E61.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#747796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b56e6;
/* rgb */ color: rgb(139, 86, 230);
/* oklch */ color: oklch(58.6% 0.208 296.3);
Tailwind
colors: {
  custom: {
    50: '#b388ef',
    500: '#8b56e6',
    950: '#000000',
  },
}
SCSS
$custom: #8b56e6;
$custom-light: #b388ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56e6",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 262.083,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.20799,
    "h": 296.3
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#8B56E6
secondary
#D3E6B1
accent
#D60F8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8B56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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