#8A1B86#8A1B86

#8A1B86 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.185 H 329.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A1B86
RGBrgb(138, 27, 134)
HSLhsl(302, 67%, 32%)
HSVhsv(302, 80%, 54%)
CMYKcmyk(0%, 80.4%, 2.9%, 45.9%)
CIE-LABlab(33.79, 56.63, -33.74)
CIE-LCHlch(33.79, 65.91, 329.22°)
OKLaboklab(45.39% 0.1601 -0.0933)
OKLCHoklch(45.39% 0.185 329.8)
XYZxyz(15.1762, 7.9096, 23.2770)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B86 #1B8A1F
analogous
#561B8A #8A1B86 #8A1B4F
triadic
#8A1B86 #868A1B #1B868A
tetradic
#8A1B86 #8A561B #1B8A1F #1B4F8A
square
#8A1B86 #8A561B #1B8A1F #1B4F8A
split-complementary
#8A1B86 #4F8A1B #1B8A56
monochromatic
#240723 #571154 #8A1B86 #BD25B8 #DB45D5

Accessibility & contrast

On white

8.13
#8A1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B86
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B86#FFFFFF#000000##FFFFFF
##8A1B861.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054689
Deuteranopia (green-blind)
#3E5583
Tritanopia (blue-blind)
#8F2C50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1b86;
/* rgb */ color: rgb(138, 27, 134);
/* oklch */ color: oklch(45.4% 0.185 329.8);
Tailwind
colors: {
  custom: {
    50: '#b066aa',
    500: '#8a1b86',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b86;
$custom-light: #b066aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b86",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 302.162,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4539,
    "c": 0.18527,
    "h": 329.8
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#8A1B86
secondary
#45BC49
accent
#EA443E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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