#8A3CAE#8A3CAE

#8A3CAE is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.182 H 313.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A3CAE
RGBrgb(138, 60, 174)
HSLhsl(281, 49%, 46%)
HSVhsv(281, 66%, 68%)
CMYKcmyk(20.7%, 65.5%, 0%, 31.8%)
CIE-LABlab(40.72, 51.59, -46.92)
CIE-LCHlch(40.72, 69.74, 317.71°)
OKLaboklab(51.14% 0.1245 -0.132)
OKLCHoklch(51.14% 0.182 313.3)
XYZxyz(19.7358, 11.6916, 41.2533)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CAE #60AE3C
analogous
#513CAE #8A3CAE #AE3C99
triadic
#8A3CAE #AE8A3C #3CAE8A
tetradic
#8A3CAE #AE513C #60AE3C #3C99AE
square
#8A3CAE #AE513C #60AE3C #3C99AE
split-complementary
#8A3CAE #99AE3C #3CAE51
monochromatic
#421D53 #662C80 #8A3CAE #A75FC8 #C08DD8

Accessibility & contrast

On white

6.29
#8A3CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A3CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CAE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CAE#FFFFFF#000000##FFFFFF
##8A3CAE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#865270
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a3cae;
/* rgb */ color: rgb(138, 60, 174);
/* oklch */ color: oklch(51.1% 0.182 313.3);
Tailwind
colors: {
  custom: {
    50: '#b077c7',
    500: '#8a3cae',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cae;
$custom-light: #b077c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cae",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 281.053,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.18151,
    "h": 313.3
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#8A3CAE
secondary
#97C283
accent
#D8507B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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