#8B4AAA#8B4AAA

#8B4AAA is a mid, vivid purple. Relative luminance 0.133; OKLCH L 52.9% C 0.157 H 313.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8B4AAA
RGBrgb(139, 74, 170)
HSLhsl(281, 39%, 48%)
HSVhsv(281, 56%, 67%)
CMYKcmyk(18.2%, 56.5%, 0%, 33.3%)
CIE-LABlab(43.20, 43.97, -40.60)
CIE-LCHlch(43.20, 59.84, 317.28°)
OKLaboklab(52.89% 0.108 -0.1136)
OKLCHoklch(52.89% 0.157 313.6)
XYZxyz(20.3507, 13.2894, 39.5155)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AAA #69AA4A
analogous
#5B4AAA #8B4AAA #AA4A99
triadic
#8B4AAA #AA8B4A #4AAA8B
tetradic
#8B4AAA #AA5B4A #69AA4A #4A99AA
square
#8B4AAA #AA5B4A #69AA4A #4A99AA
split-complementary
#8B4AAA #99AA4A #4AAA5B
monochromatic
#452555 #68377F #8B4AAA #A770C1 #C19BD3

Accessibility & contrast

On white

5.74
#8B4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8B4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AAA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AAA#FFFFFF#000000##FFFFFF
##8B4AAA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AD
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#885A73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b4aaa;
/* rgb */ color: rgb(139, 74, 170);
/* oklch */ color: oklch(52.9% 0.157 313.6);
Tailwind
colors: {
  custom: {
    50: '#af7fc4',
    500: '#8b4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8b4aaa;
$custom-light: #af7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4aaa",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 280.625,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.15675,
    "h": 313.6
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#8B4AAA
secondary
#9FC090
accent
#CF597F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8B4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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