#8A3586#8A3586

#8A3586 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.9% C 0.153 H 329.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A3586
RGBrgb(138, 53, 134)
HSLhsl(303, 45%, 37%)
HSVhsv(303, 62%, 54%)
CMYKcmyk(0%, 61.6%, 2.9%, 45.9%)
CIE-LABlab(37.25, 46.89, -28.28)
CIE-LCHlch(37.25, 54.76, 328.90°)
OKLaboklab(47.88% 0.1322 -0.0778)
OKLCHoklch(47.88% 0.153 329.5)
XYZxyz(16.0573, 9.6718, 23.5707)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3586 #358A39
analogous
#64358A #8A3586 #8A355B
triadic
#8A3586 #868A35 #35868A
tetradic
#8A3586 #8A6435 #358A39 #355B8A
square
#8A3586 #8A6435 #358A39 #355B8A
split-complementary
#8A3586 #5B8A35 #358A64
monochromatic
#321330 #5E245B #8A3586 #B646B1 #C871C4

Accessibility & contrast

On white

7.16
#8A3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3586
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3586#FFFFFF#000000##FFFFFF
##8A35861.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3586;
/* rgb */ color: rgb(138, 53, 134);
/* oklch */ color: oklch(47.9% 0.153 329.5);
Tailwind
colors: {
  custom: {
    50: '#af72a9',
    500: '#8a3586',
    950: '#000000',
  },
}
SCSS
$custom: #8a3586;
$custom-light: #af72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3586",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 302.824,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.15338,
    "h": 329.5
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#8A3586
secondary
#6AB16D
accent
#D45A54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3586

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

Preview Lab → · Contrast checker → · Palette generator →

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