#8A3793#8A3793

#8A3793 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.162 H 323.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8A3793
RGBrgb(138, 55, 147)
HSLhsl(294, 46%, 40%)
HSVhsv(294, 63%, 58%)
CMYKcmyk(6.1%, 62.6%, 0%, 42.4%)
CIE-LABlab(38.28, 48.39, -34.62)
CIE-LCHlch(38.28, 59.50, 324.42°)
OKLaboklab(48.85% 0.1307 -0.0961)
OKLCHoklch(48.85% 0.162 323.7)
XYZxyz(17.1134, 10.2432, 28.6738)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3793 #409337
analogous
#5C3793 #8A3793 #93376E
triadic
#8A3793 #938A37 #37938A
tetradic
#8A3793 #935C37 #409337 #376E93
square
#8A3793 #935C37 #409337 #376E93
split-complementary
#8A3793 #6E9337 #37935C
monochromatic
#36163A #602666 #8A3793 #B14BBC #C478CC

Accessibility & contrast

On white

6.89
#8A3793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A3793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3793
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3793#FFFFFF#000000##FFFFFF
##8A37931.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#455E91
Tritanopia (blue-blind)
#8C4560
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3793;
/* rgb */ color: rgb(138, 55, 147);
/* oklch */ color: oklch(48.9% 0.162 323.7);
Tailwind
colors: {
  custom: {
    50: '#af73b3',
    500: '#8a3793',
    950: '#000000',
  },
}
SCSS
$custom: #8a3793;
$custom-light: #af73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3793",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 294.13,
    "s": 45.545,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.16219,
    "h": 323.7
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#8A3793
secondary
#77B570
accent
#D5535F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3793

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

Preview Lab → · Contrast checker → · Palette generator →

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