#8B3AAD#8B3AAD

#8B3AAD is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.184 H 314.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8B3AAD
RGBrgb(139, 58, 173)
HSLhsl(282, 50%, 45%)
HSVhsv(282, 66%, 68%)
CMYKcmyk(19.7%, 66.5%, 0%, 32.2%)
CIE-LABlab(40.46, 52.53, -46.74)
CIE-LCHlch(40.46, 70.31, 318.34°)
OKLaboklab(50.96% 0.1282 -0.1315)
OKLCHoklch(50.96% 0.184 314.3)
XYZxyz(19.7021, 11.5328, 40.7153)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AAD #5CAD3A
analogous
#513AAD #8B3AAD #AD3A95
triadic
#8B3AAD #AD8B3A #3AAD8B
tetradic
#8B3AAD #AD513A #5CAD3A #3A95AD
square
#8B3AAD #AD513A #5CAD3A #3A95AD
split-complementary
#8B3AAD #95AD3A #3AAD51
monochromatic
#411B51 #662B7F #8B3AAD #A85CC8 #C18AD8

Accessibility & contrast

On white

6.35
#8B3AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8B3AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AAD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AAD#FFFFFF#000000##FFFFFF
##8B3AAD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#3561AA
Tritanopia (blue-blind)
#88506F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b3aad;
/* rgb */ color: rgb(139, 58, 173);
/* oklch */ color: oklch(51.0% 0.184 314.3);
Tailwind
colors: {
  custom: {
    50: '#b076c6',
    500: '#8b3aad',
    950: '#000000',
  },
}
SCSS
$custom: #8b3aad;
$custom-light: #b076c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3aad",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 173
  },
  "hsl": {
    "h": 282.261,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50962,
    "c": 0.18362,
    "h": 314.3
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#8B3AAD
secondary
#94C281
accent
#D94E78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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