#8A3681#8A3681

#8A3681 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.148 H 332.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A3681
RGBrgb(138, 54, 129)
HSLhsl(306, 44%, 38%)
HSVhsv(306, 61%, 54%)
CMYKcmyk(0%, 60.9%, 6.5%, 45.9%)
CIE-LABlab(37.17, 45.54, -25.32)
CIE-LCHlch(37.17, 52.11, 330.92°)
OKLaboklab(47.74% 0.1303 -0.0693)
OKLCHoklch(47.74% 0.148 332)
XYZxyz(15.7628, 9.6277, 21.7927)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3681 #368A3F
analogous
#69368A #8A3681 #8A3657
triadic
#8A3681 #818A36 #36818A
tetradic
#8A3681 #8A6936 #368A3F #36578A
square
#8A3681 #8A6936 #368A3F #36578A
split-complementary
#8A3681 #578A36 #368A69
monochromatic
#32142F #5E2558 #8A3681 #B647AA #C872BF

Accessibility & contrast

On white

7.18
#8A3681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3681
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3681#FFFFFF#000000##FFFFFF
##8A36811.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335083
Deuteranopia (green-blind)
#4D5C7F
Tritanopia (blue-blind)
#903D56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3681;
/* rgb */ color: rgb(138, 54, 129);
/* oklch */ color: oklch(47.7% 0.148 332.0);
Tailwind
colors: {
  custom: {
    50: '#af72a6',
    500: '#8a3681',
    950: '#000000',
  },
}
SCSS
$custom: #8a3681;
$custom-light: #af72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3681",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 129
  },
  "hsl": {
    "h": 306.429,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47739,
    "c": 0.14752,
    "h": 332
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#8A3681
secondary
#6BB173
accent
#D36254
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3681

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

Preview Lab → · Contrast checker → · Palette generator →

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