#8A1986#8A1986

#8A1986 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.187 H 329.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A1986
RGBrgb(138, 25, 134)
HSLhsl(302, 69%, 32%)
HSVhsv(302, 82%, 54%)
CMYKcmyk(0%, 81.9%, 2.9%, 45.9%)
CIE-LABlab(33.61, 57.17, -34.03)
CIE-LCHlch(33.61, 66.53, 329.23°)
OKLaboklab(45.26% 0.1616 -0.0942)
OKLCHoklch(45.26% 0.187 329.8)
XYZxyz(15.1319, 7.8210, 23.2623)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1986 #198A1D
analogous
#56198A #8A1986 #8A194E
triadic
#8A1986 #868A19 #19868A
tetradic
#8A1986 #8A5619 #198A1D #194E8A
square
#8A1986 #8A5619 #198A1D #194E8A
split-complementary
#8A1986 #4E8A19 #198A56
monochromatic
#220621 #561054 #8A1986 #BE22B8 #DD41D7

Accessibility & contrast

On white

8.19
#8A1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1986
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1986#FFFFFF#000000##FFFFFF
##8A19861.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004689
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#8F2B50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1986;
/* rgb */ color: rgb(138, 25, 134);
/* oklch */ color: oklch(45.3% 0.187 329.8);
Tailwind
colors: {
  custom: {
    50: '#b066aa',
    500: '#8a1986',
    950: '#000000',
  },
}
SCSS
$custom: #8a1986;
$custom-light: #b066aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1986",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 302.124,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.18704,
    "h": 329.8
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#8A1986
secondary
#42BD46
accent
#EC423C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1986

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

Preview Lab → · Contrast checker → · Palette generator →

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