#8A1D86#8A1D86

#8A1D86 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.183 H 329.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8A1D86
RGBrgb(138, 29, 134)
HSLhsl(302, 65%, 33%)
HSVhsv(302, 79%, 54%)
CMYKcmyk(0%, 79%, 2.9%, 45.9%)
CIE-LABlab(33.99, 56.05, -33.42)
CIE-LCHlch(33.99, 65.26, 329.20°)
OKLaboklab(45.53% 0.1584 -0.0924)
OKLCHoklch(45.53% 0.183 329.7)
XYZxyz(15.2236, 8.0044, 23.2928)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D86 #1D8A21
analogous
#581D8A #8A1D86 #8A1D4F
triadic
#8A1D86 #868A1D #1D868A
tetradic
#8A1D86 #8A581D #1D8A21 #1D4F8A
square
#8A1D86 #8A581D #1D8A21 #1D4F8A
split-complementary
#8A1D86 #4F8A1D #1D8A58
monochromatic
#250824 #571255 #8A1D86 #BD28B7 #D949D3

Accessibility & contrast

On white

8.08
#8A1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D86
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D86#FFFFFF#000000##FFFFFF
##8A1D861.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094789
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#8F2D51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1d86;
/* rgb */ color: rgb(138, 29, 134);
/* oklch */ color: oklch(45.5% 0.183 329.7);
Tailwind
colors: {
  custom: {
    50: '#b067aa',
    500: '#8a1d86',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d86;
$custom-light: #b067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d86",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 302.202,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.1834,
    "h": 329.7
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#8A1D86
secondary
#48BB4C
accent
#E84640
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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