#8A3AB0#8A3AB0

#8A3AB0 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.186 H 312.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A3AB0
RGBrgb(138, 58, 176)
HSLhsl(281, 50%, 46%)
HSVhsv(281, 67%, 69%)
CMYKcmyk(21.6%, 67%, 0%, 31%)
CIE-LABlab(40.52, 52.95, -48.44)
CIE-LCHlch(40.52, 71.76, 317.54°)
OKLaboklab(51.03% 0.1267 -0.1365)
OKLCHoklch(51.03% 0.186 312.9)
XYZxyz(19.8294, 11.5645, 42.2535)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3AB0 #60B03A
analogous
#4F3AB0 #8A3AB0 #B03A9B
triadic
#8A3AB0 #B08A3A #3AB08A
tetradic
#8A3AB0 #B04F3A #60B03A #3A9BB0
square
#8A3AB0 #B04F3A #60B03A #3A9BB0
split-complementary
#8A3AB0 #9BB03A #3AB04F
monochromatic
#421C54 #662B82 #8A3AB0 #A75DCA #C08BD9

Accessibility & contrast

On white

6.34
#8A3AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A3AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3AB0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3AB0#FFFFFF#000000##FFFFFF
##8A3AB01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#865270
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a3ab0;
/* rgb */ color: rgb(138, 58, 176);
/* oklch */ color: oklch(51.0% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#b076c8',
    500: '#8a3ab0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ab0;
$custom-light: #b076c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ab0",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 280.678,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.18625,
    "h": 312.9
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#8A3AB0
secondary
#97C382
accent
#DA4E7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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