#8A3AA0#8A3AA0

#8A3AA0 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.0% C 0.170 H 318.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8A3AA0
RGBrgb(138, 58, 160)
HSLhsl(287, 47%, 43%)
HSVhsv(287, 64%, 63%)
CMYKcmyk(13.8%, 63.8%, 0%, 37.3%)
CIE-LABlab(39.53, 49.58, -40.48)
CIE-LCHlch(39.53, 64.01, 320.77°)
OKLaboklab(50% 0.1273 -0.1132)
OKLCHoklch(50% 0.17 318.3)
XYZxyz(18.3386, 10.9682, 34.4020)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3AA0 #50A03A
analogous
#573AA0 #8A3AA0 #A03A83
triadic
#8A3AA0 #A08A3A #3AA08A
tetradic
#8A3AA0 #A0573A #50A03A #3A83A0
square
#8A3AA0 #A0573A #50A03A #3A83A0
split-complementary
#8A3AA0 #83A03A #3AA057
monochromatic
#3D1946 #632A73 #8A3AA0 #AA56C2 #C183D2

Accessibility & contrast

On white

6.58
#8A3AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A3AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3AA0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3AA0#FFFFFF#000000##FFFFFF
##8A3AA01.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A3
Deuteranopia (green-blind)
#3F609D
Tritanopia (blue-blind)
#8A4C68
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a3aa0;
/* rgb */ color: rgb(138, 58, 160);
/* oklch */ color: oklch(50.0% 0.170 318.3);
Tailwind
colors: {
  custom: {
    50: '#af76bc',
    500: '#8a3aa0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3aa0;
$custom-light: #af76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3aa0",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 287.059,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.17031,
    "h": 318.3
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#8A3AA0
secondary
#88BC7A
accent
#D6516E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A3AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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