#8A3BAE#8A3BAE

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

Color values

HEX#8A3BAE
RGBrgb(138, 59, 174)
HSLhsl(281, 49%, 46%)
HSVhsv(281, 66%, 68%)
CMYKcmyk(20.7%, 66.1%, 0%, 31.8%)
CIE-LABlab(40.55, 52.06, -47.19)
CIE-LCHlch(40.55, 70.26, 317.80°)
OKLaboklab(51.02% 0.1257 -0.1328)
OKLCHoklch(51.02% 0.183 313.4)
XYZxyz(19.6839, 11.5878, 41.2360)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BAE #5FAE3B
analogous
#503BAE #8A3BAE #AE3B98
triadic
#8A3BAE #AE8A3B #3BAE8A
tetradic
#8A3BAE #AE503B #5FAE3B #3B98AE
square
#8A3BAE #AE503B #5FAE3B #3B98AE
split-complementary
#8A3BAE #98AE3B #3BAE50
monochromatic
#421C53 #662C80 #8A3BAE #A75EC8 #C08CD8

Accessibility & contrast

On white

6.33
#8A3BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A3BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BAE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BAE#FFFFFF#000000##FFFFFF
##8A3BAE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3461AB
Tritanopia (blue-blind)
#86516F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a3bae;
/* rgb */ color: rgb(138, 59, 174);
/* oklch */ color: oklch(51.0% 0.183 313.4);
Tailwind
colors: {
  custom: {
    50: '#b077c7',
    500: '#8a3bae',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bae;
$custom-light: #b077c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bae",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 281.217,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.18289,
    "h": 313.4
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#8A3BAE
secondary
#96C282
accent
#D94F7A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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