#8B3AAA#8B3AAA

#8B3AAA is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.181 H 315.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8B3AAA
RGBrgb(139, 58, 170)
HSLhsl(283, 49%, 45%)
HSVhsv(283, 66%, 67%)
CMYKcmyk(18.2%, 65.9%, 0%, 33.3%)
CIE-LABlab(40.28, 51.90, -45.26)
CIE-LCHlch(40.28, 68.86, 318.91°)
OKLaboklab(50.77% 0.1283 -0.1271)
OKLCHoklch(50.77% 0.181 315.3)
XYZxyz(19.4151, 11.4180, 39.2036)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AAA #59AA3A
analogous
#533AAA #8B3AAA #AA3A91
triadic
#8B3AAA #AA8B3A #3AAA8B
tetradic
#8B3AAA #AA533A #59AA3A #3A91AA
square
#8B3AAA #AA533A #59AA3A #3A91AA
split-complementary
#8B3AAA #91AA3A #3AAA53
monochromatic
#401B4F #662A7C #8B3AAA #A95AC7 #C188D6

Accessibility & contrast

On white

6.40
#8B3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8B3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AAA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AAA#FFFFFF#000000##FFFFFF
##8B3AAA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#3861A7
Tritanopia (blue-blind)
#894F6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b3aaa;
/* rgb */ color: rgb(139, 58, 170);
/* oklch */ color: oklch(50.8% 0.181 315.3);
Tailwind
colors: {
  custom: {
    50: '#b076c4',
    500: '#8b3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8b3aaa;
$custom-light: #b076c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3aaa",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 283.393,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.18064,
    "h": 315.3
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#8B3AAA
secondary
#91C17F
accent
#D94F75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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