#8B3AAE#8B3AAE

#8B3AAE is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.185 H 314.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8B3AAE
RGBrgb(139, 58, 174)
HSLhsl(282, 50%, 45%)
HSVhsv(282, 67%, 68%)
CMYKcmyk(20.1%, 66.7%, 0%, 31.8%)
CIE-LABlab(40.53, 52.74, -47.23)
CIE-LCHlch(40.53, 70.80, 318.16°)
OKLaboklab(51.03% 0.1281 -0.1329)
OKLCHoklch(51.03% 0.185 314)
XYZxyz(19.7992, 11.5717, 41.2268)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AAE #5DAE3A
analogous
#513AAE #8B3AAE #AE3A97
triadic
#8B3AAE #AE8B3A #3AAE8B
tetradic
#8B3AAE #AE513A #5DAE3A #3A97AE
square
#8B3AAE #AE513A #5DAE3A #3A97AE
split-complementary
#8B3AAE #97AE3A #3AAE51
monochromatic
#421B52 #662B80 #8B3AAE #A85CC9 #C18AD8

Accessibility & contrast

On white

6.34
#8B3AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B3AAE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AAE#FFFFFF#000000##FFFFFF
##8B3AAE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3462AB
Tritanopia (blue-blind)
#88516F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b3aae;
/* rgb */ color: rgb(139, 58, 174);
/* oklch */ color: oklch(51.0% 0.185 314.0);
Tailwind
colors: {
  custom: {
    50: '#b076c7',
    500: '#8b3aae',
    950: '#000000',
  },
}
SCSS
$custom: #8b3aae;
$custom-light: #b076c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3aae",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 281.897,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.18461,
    "h": 314
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#8B3AAE
secondary
#95C281
accent
#DA4E78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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