#8A3696#8A3696

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

Color values

HEX#8A3696
RGBrgb(138, 54, 150)
HSLhsl(293, 47%, 40%)
HSVhsv(293, 64%, 59%)
CMYKcmyk(8%, 64%, 0%, 41.2%)
CIE-LABlab(38.28, 49.43, -36.44)
CIE-LCHlch(38.28, 61.41, 323.61°)
OKLaboklab(48.91% 0.132 -0.1014)
OKLCHoklch(48.91% 0.166 322.5)
XYZxyz(17.3049, 10.2445, 29.9141)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3696 #429636
analogous
#5A3696 #8A3696 #963672
triadic
#8A3696 #968A36 #36968A
tetradic
#8A3696 #965A36 #429636 #367296
square
#8A3696 #965A36 #429636 #367296
split-complementary
#8A3696 #729636 #36965A
monochromatic
#37163C #612669 #8A3696 #B04BBE #C478CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3696#FFFFFF#000000##FFFFFF
##8A36961.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)
#215499
Deuteranopia (green-blind)
#435D94
Tritanopia (blue-blind)
#8C4561
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3696;
/* rgb */ color: rgb(138, 54, 150);
/* oklch */ color: oklch(48.9% 0.166 322.5);
Tailwind
colors: {
  custom: {
    50: '#af73b5',
    500: '#8a3696',
    950: '#000000',
  },
}
SCSS
$custom: #8a3696;
$custom-light: #af73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3696",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 292.5,
    "s": 47.059,
    "l": 40
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.16646,
    "h": 322.5
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#8A3696
secondary
#79B771
accent
#D75162
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3696

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

Preview Lab → · Contrast checker → · Palette generator →

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