#8A3CAC#8A3CAC

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

Color values

HEX#8A3CAC
RGBrgb(138, 60, 172)
HSLhsl(282, 48%, 45%)
HSVhsv(282, 65%, 67%)
CMYKcmyk(19.8%, 65.1%, 0%, 32.5%)
CIE-LABlab(40.60, 51.16, -45.94)
CIE-LCHlch(40.60, 68.76, 318.08°)
OKLaboklab(51.01% 0.1246 -0.1292)
OKLCHoklch(51.01% 0.179 314)
XYZxyz(19.5422, 11.6142, 40.2341)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CAC #5EAC3C
analogous
#523CAC #8A3CAC #AC3C96
triadic
#8A3CAC #AC8A3C #3CAC8A
tetradic
#8A3CAC #AC523C #5EAC3C #3C96AC
square
#8A3CAC #AC523C #5EAC3C #3C96AC
split-complementary
#8A3CAC #96AC3C #3CAC52
monochromatic
#411C51 #662C7F #8A3CAC #A75EC7 #C08CD7

Accessibility & contrast

On white

6.32
#8A3CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3CAC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CAC#FFFFFF#000000##FFFFFF
##8A3CAC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065BAF
Deuteranopia (green-blind)
#3762A9
Tritanopia (blue-blind)
#87516F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a3cac;
/* rgb */ color: rgb(138, 60, 172);
/* oklch */ color: oklch(51.0% 0.179 314.0);
Tailwind
colors: {
  custom: {
    50: '#af77c5',
    500: '#8a3cac',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cac;
$custom-light: #af77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cac",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 281.786,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.17948,
    "h": 314
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

primary
#8A3CAC
secondary
#96C182
accent
#D85079
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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