#8B3AA8#8B3AA8

#8B3AA8 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.6% C 0.179 H 316.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8B3AA8
RGBrgb(139, 58, 168)
HSLhsl(284, 49%, 44%)
HSVhsv(284, 65%, 66%)
CMYKcmyk(17.3%, 65.5%, 0%, 34.1%)
CIE-LABlab(40.15, 51.48, -44.26)
CIE-LCHlch(40.15, 67.89, 319.31°)
OKLaboklab(50.64% 0.1284 -0.1242)
OKLCHoklch(50.64% 0.179 316)
XYZxyz(19.2273, 11.3429, 38.2148)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AA8 #57A83A
analogous
#543AA8 #8B3AA8 #A83A8E
triadic
#8B3AA8 #A88B3A #3AA88B
tetradic
#8B3AA8 #A8543A #57A83A #3A8EA8
square
#8B3AA8 #A8543A #57A83A #3A8EA8
split-complementary
#8B3AA8 #8EA83A #3AA854
monochromatic
#401B4D #652A7B #8B3AA8 #A959C6 #C187D6

Accessibility & contrast

On white

6.43
#8B3AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B3AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AA8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AA8#FFFFFF#000000##FFFFFF
##8B3AA81.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAB
Deuteranopia (green-blind)
#3A61A5
Tritanopia (blue-blind)
#894E6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b3aa8;
/* rgb */ color: rgb(139, 58, 168);
/* oklch */ color: oklch(50.6% 0.179 316.0);
Tailwind
colors: {
  custom: {
    50: '#b076c2',
    500: '#8b3aa8',
    950: '#000000',
  },
}
SCSS
$custom: #8b3aa8;
$custom-light: #b076c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3aa8",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 284.182,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50638,
    "c": 0.17865,
    "h": 316
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#8B3AA8
secondary
#8FC07E
accent
#D85074
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8B3AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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