#8A1A86#8A1A86

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

Color values

HEX#8A1A86
RGBrgb(138, 26, 134)
HSLhsl(302, 68%, 32%)
HSVhsv(302, 81%, 54%)
CMYKcmyk(0%, 81.2%, 2.9%, 45.9%)
CIE-LABlab(33.70, 56.90, -33.89)
CIE-LCHlch(33.70, 66.23, 329.22°)
OKLaboklab(45.32% 0.1608 -0.0937)
OKLCHoklch(45.32% 0.186 329.8)
XYZxyz(15.1536, 7.8645, 23.2695)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A86 #1A8A1E
analogous
#561A8A #8A1A86 #8A1A4E
triadic
#8A1A86 #868A1A #1A868A
tetradic
#8A1A86 #8A561A #1A8A1E #1A4E8A
square
#8A1A86 #8A561A #1A8A1E #1A4E8A
split-complementary
#8A1A86 #4E8A1A #1A8A56
monochromatic
#230722 #571054 #8A1A86 #BD24B8 #DC43D6

Accessibility & contrast

On white

8.16
#8A1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A86
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A86#FFFFFF#000000##FFFFFF
##8A1A861.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1a86;
/* rgb */ color: rgb(138, 26, 134);
/* oklch */ color: oklch(45.3% 0.186 329.8);
Tailwind
colors: {
  custom: {
    50: '#b066aa',
    500: '#8a1a86',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a86;
$custom-light: #b066aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a86",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 302.143,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.18616,
    "h": 329.8
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#8A1A86
secondary
#43BD47
accent
#EB433D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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