#8B5CF6 Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(139, 92, 246)
HSL:hsl(258, 90%, 66%)
HEX
#8B5CF6
RGB
139, 92, 246
HSL
258°, 90%, 66%
HSV
258°, 63%, 96%
CMYK
43%, 63%, 0%, 4%

Color Conversion

Generate values across multiple color models in one place.

#8B5CF6

Tints & shades

Explore how #8B5CF6 behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#895AF6
10%#723AF5
20%#5B1AF3
30%#4B0CE0
40%#410AC0
50%#3608A0
60%#2B0780
70%#200560
80%#160340
90%#0B0220
100%#000000

Tints

0–100%
0%#895AF6
10%#956BF7
20%#A17BF8
30%#AC8CF9
40%#B89CFA
50%#C4ADFB
60%#D0BDFC
70%#DCCEFC
80%#E7DEFD
90%#F3EFFE
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #8B5CF6.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #8B5CF6 is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#8B5CF6
Contrast ratio4.96:1
WCAG levelAA
Sample text on white text
Text color#FFFFFF
Background#8B5CF6
Contrast ratio4.23:1
WCAG levelFail
Recommended text preview
Text color#000000
Background#8B5CF6
Contrast ratio4.96:1
WCAG levelAA

Technical Formats

Advanced color formats used in design systems.

HEX
#8B5CF6
RGB
rgb(139, 92, 246)
HSL
hsl(258.31, 89.53%, 66.27%)
HSV
hsv(258.31 62.60% 96.47%)
LAB
lab(50.69 45.85 -71.80)
LCH
lch(50.69 85.19 302.56)
OKLAB
oklab(0.61 0.0845 -0.2019)
OKLCH
oklch(0.61 0.2189 292.72)
Display P3
color(display-p3 0.5182734365137007 0.3687981891599884 0.9315415828133802)
CSS Color Level 4
color(srgb 0.5450980392156862 0.3607843137254902 0.9647058823529412)
XYZ
color(xyz-d65 0.3111 0.1980 0.8937)
CMYK
cmyk(43.50% 62.60% 0.00% 3.53%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #8B5CF6;
CSS RGB Variable
--color-brand-primary-rgb: 139, 92, 246;
SCSS Variable
$color-brand-primary: #8B5CF6;
Tailwind Config
"brand-primary": "#8B5CF6"
JavaScript
const brandprimary = "#8B5CF6";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#8B5CF6",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#8B5CF6" />
Android XML
<color name="brand_primary">#8B5CF6</color>
iOS Swift
UIColor(red: 0.545, green: 0.361, blue: 0.965, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 258.31 89.53% 66.27%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
mediumslateblue
Temperature
Cool
Hue Family
Purple
Relative Luminance
0.1980
Saturation Level
Highly saturated
Lightness Level
Light

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#6464F6

Deuteranopia

Green-blind simulation

#6C6CF5

Tritanopia

Blue-blind simulation

#776F6F

Achromatopsia

No-color simulation

#717171

Creative Aspects

Palettes, gradients, and moods.

Complementary

#8B5CF6#C7F65C

Analogous

#5C7AF6#8B5CF6#D85CF6

Triadic

#8B5CF6#F68B5C#5CF68B

Tetradic

#8B5CF6#F65C7A#C7F65C#5CF6D8

Monochromatic

#F7BCFF#CC89F8#8B5CF6#5430C2#0B0090

Tints

#FFFFFF#E6D5FE#CCADFC#AE84F9#8B5CF6

Shades

#8B5CF6#643BD1#3B1AAC#000089#000000

Gradient Flow

#5C6DF6#7465F7#8B5CF6#AD5CF7#CB5CF6

Design guidance

Balance

Treat #8B5CF6 as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color