#8A3686#8A3686

#8A3686 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.0% C 0.152 H 329.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8A3686
RGBrgb(138, 54, 134)
HSLhsl(303, 44%, 38%)
HSVhsv(303, 61%, 54%)
CMYKcmyk(0%, 60.9%, 2.9%, 45.9%)
CIE-LABlab(37.42, 46.43, -28.02)
CIE-LCHlch(37.42, 54.23, 328.89°)
OKLaboklab(48% 0.1309 -0.077)
OKLCHoklch(48% 0.152 329.5)
XYZxyz(16.1033, 9.7639, 23.5861)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3686 #368A3A
analogous
#64368A #8A3686 #8A365C
triadic
#8A3686 #868A36 #36868A
tetradic
#8A3686 #8A6436 #368A3A #365C8A
square
#8A3686 #8A6436 #368A3A #365C8A
split-complementary
#8A3686 #5C8A36 #368A64
monochromatic
#321431 #5E255B #8A3686 #B647B1 #C872C4

Accessibility & contrast

On white

7.11
#8A3686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A3686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3686
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3686#FFFFFF#000000##FFFFFF
##8A36861.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5188
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#8F3F59
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3686;
/* rgb */ color: rgb(138, 54, 134);
/* oklch */ color: oklch(48.0% 0.152 329.5);
Tailwind
colors: {
  custom: {
    50: '#af73a9',
    500: '#8a3686',
    950: '#000000',
  },
}
SCSS
$custom: #8a3686;
$custom-light: #af73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3686",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 302.857,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.15186,
    "h": 329.5
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#8A3686
secondary
#6BB16F
accent
#D35A54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3686

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

Preview Lab → · Contrast checker → · Palette generator →

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