#8A2BE2 Color Details, Palettes & Contrast

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

RGB:rgb(138, 43, 226)
HSL:hsl(271, 76%, 53%)
HEX
#8A2BE2
RGB
138, 43, 226
HSL
271°, 76%, 53%
HSV
271°, 81%, 89%
CMYK
39%, 81%, 0%, 11%

Color Conversion

Generate values across multiple color models in one place.

#8A2BE2

Tints & shades

Explore how #8A2BE2 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%#8A2CE2
10%#7D1DD6
20%#6F1ABE
30%#6117A7
40%#53138F
50%#451077
60%#370D5F
70%#2A0A47
80%#1C0630
90%#0E0318
100%#000000

Tints

0–100%
0%#8A2CE2
10%#9641E5
20%#A256E8
30%#AD6BEB
40%#B980EE
50%#C596F1
60%#D0ABF3
70%#DCC0F6
80%#E8D5F9
90%#F3EAFC
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 #8A2BE2.

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 #8A2BE2 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#8A2BE2
Contrast ratio3.52:1
WCAG levelFail
Sample text on white text
Text color#FFFFFF
Background#8A2BE2
Contrast ratio5.96:1
WCAG levelAA
Recommended text preview
Text color#FFFFFF
Background#8A2BE2
Contrast ratio5.96:1
WCAG levelAA

Technical Formats

Advanced color formats used in design systems.

HEX
#8A2BE2
RGB
rgb(138, 43, 226)
HSL
hsl(271.15, 75.93%, 52.75%)
HSV
hsv(271.15 80.97% 88.63%)
LAB
lab(41.21 63.01 -75.96)
LCH
lch(41.21 98.69 309.68)
OKLAB
oklab(0.53 0.1303 -0.2137)
OKLCH
oklch(0.53 0.2503 301.37)
Display P3
color(display-p3 0.4992193880965548 0.19573726320849882 0.853527722205266)
CSS Color Level 4
color(srgb 0.5411764705882353 0.16862745098039217 0.8862745098039215)
XYZ
color(xyz-d65 0.2507 0.1262 0.7307)
CMYK
cmyk(38.94% 80.97% 0.00% 11.37%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #8A2BE2;
CSS RGB Variable
--color-brand-primary-rgb: 138, 43, 226;
SCSS Variable
$color-brand-primary: #8A2BE2;
Tailwind Config
"brand-primary": "#8A2BE2"
JavaScript
const brandprimary = "#8A2BE2";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#8A2BE2",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#8A2BE2" />
Android XML
<color name="brand_primary">#8A2BE2</color>
iOS Swift
UIColor(red: 0.541, green: 0.169, blue: 0.886, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 271.15 75.93% 52.75%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
blueviolet
Temperature
Creative / Vivid
Hue Family
Purple
Relative Luminance
0.1262
Saturation Level
Highly saturated
Lightness Level
Medium

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#3B3BE2

Deuteranopia

Green-blind simulation

#4A4ADF

Tritanopia

Blue-blind simulation

#734242

Achromatopsia

No-color simulation

#4C4C4C

Creative Aspects

Palettes, gradients, and moods.

Complementary

#8A2BE2#83E22B

Analogous

#2F2BE2#8A2BE2#E22BDE

Triadic

#8A2BE2#E28A2B#2BE28A

Tetradic

#8A2BE2#E22F2B#83E22B#2BDEE2

Monochromatic

#F792FF#C65EEF#8A2BE2#5014B0#0A007E

Tints

#FFFFFF#E7CCF9#CC9AF2#AE67EB#8A2BE2

Shades

#8A2BE2#6A00C4#4900A6#23008A#000000

Gradient Flow

#3E2BE2#6A2AE2#8A2BE2#B329E3#D62BE2

Design guidance

Balance

Treat #8A2BE2 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