#8A3687#8A3687

#8A3687 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.1% C 0.153 H 329.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A3687
RGBrgb(138, 54, 135)
HSLhsl(302, 44%, 38%)
HSVhsv(302, 61%, 54%)
CMYKcmyk(0%, 60.9%, 2.2%, 45.9%)
CIE-LABlab(37.47, 46.61, -28.55)
CIE-LCHlch(37.47, 54.66, 328.51°)
OKLaboklab(48.06% 0.131 -0.0785)
OKLCHoklch(48.06% 0.153 329.1)
XYZxyz(16.1734, 9.7919, 23.9551)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3687 #368A39
analogous
#63368A #8A3687 #8A365D
triadic
#8A3687 #878A36 #36878A
tetradic
#8A3687 #8A6336 #368A39 #365D8A
square
#8A3687 #8A6336 #368A39 #365D8A
split-complementary
#8A3687 #5D8A36 #368A63
monochromatic
#321431 #5E255C #8A3687 #B647B2 #C872C5

Accessibility & contrast

On white

7.10
#8A3687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A3687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3687
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3687#FFFFFF#000000##FFFFFF
##8A36871.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3687;
/* rgb */ color: rgb(138, 54, 135);
/* oklch */ color: oklch(48.1% 0.153 329.1);
Tailwind
colors: {
  custom: {
    50: '#af73aa',
    500: '#8a3687',
    950: '#000000',
  },
}
SCSS
$custom: #8a3687;
$custom-light: #af73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3687",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 302.143,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.15275,
    "h": 329.1
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#8A3687
secondary
#6BB16E
accent
#D35954
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3687

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

Preview Lab → · Contrast checker → · Palette generator →

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