#8B3AA2#8B3AA2

#8B3AA2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.173 H 318.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8B3AA2
RGBrgb(139, 58, 162)
HSLhsl(287, 47%, 43%)
HSVhsv(287, 64%, 64%)
CMYKcmyk(14.2%, 64.2%, 0%, 36.5%)
CIE-LABlab(39.79, 50.24, -41.26)
CIE-LCHlch(39.79, 65.01, 320.61°)
OKLaboklab(50.26% 0.1285 -0.1154)
OKLCHoklch(50.26% 0.173 318.1)
XYZxyz(18.6812, 11.1245, 35.3386)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AA2 #51A23A
analogous
#573AA2 #8B3AA2 #A23A85
triadic
#8B3AA2 #A28B3A #3AA28B
tetradic
#8B3AA2 #A2573A #51A23A #3A85A2
square
#8B3AA2 #A2573A #51A23A #3A85A2
split-complementary
#8B3AA2 #85A23A #3AA257
monochromatic
#3E1A48 #642A75 #8B3AA2 #AB57C3 #C184D3

Accessibility & contrast

On white

6.51
#8B3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8B3AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AA2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AA2#FFFFFF#000000##FFFFFF
##8B3AA21.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#8B4C69
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b3aa2;
/* rgb */ color: rgb(139, 58, 162);
/* oklch */ color: oklch(50.3% 0.173 318.1);
Tailwind
colors: {
  custom: {
    50: '#b076be',
    500: '#8b3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3aa2;
$custom-light: #b076be;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3aa2",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 286.731,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50259,
    "c": 0.17273,
    "h": 318.1
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#8B3AA2
secondary
#8ABD7B
accent
#D7516F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8B3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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