#8A1C86#8A1C86

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

Color values

HEX#8A1C86
RGBrgb(138, 28, 134)
HSLhsl(302, 66%, 33%)
HSVhsv(302, 80%, 54%)
CMYKcmyk(0%, 79.7%, 2.9%, 45.9%)
CIE-LABlab(33.89, 56.34, -33.58)
CIE-LCHlch(33.89, 65.59, 329.21°)
OKLaboklab(45.46% 0.1592 -0.0929)
OKLCHoklch(45.46% 0.184 329.7)
XYZxyz(15.1995, 7.9562, 23.2848)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C86 #1C8A20
analogous
#571C8A #8A1C86 #8A1C4F
triadic
#8A1C86 #868A1C #1C868A
tetradic
#8A1C86 #8A571C #1C8A20 #1C4F8A
square
#8A1C86 #8A571C #1C8A20 #1C4F8A
split-complementary
#8A1C86 #4F8A1C #1C8A57
monochromatic
#240723 #571255 #8A1C86 #BD26B7 #DA47D4

Accessibility & contrast

On white

8.10
#8A1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C86
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C86#FFFFFF#000000##FFFFFF
##8A1C861.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1c86;
/* rgb */ color: rgb(138, 28, 134);
/* oklch */ color: oklch(45.5% 0.184 329.7);
Tailwind
colors: {
  custom: {
    50: '#b067aa',
    500: '#8a1c86',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c86;
$custom-light: #b067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c86",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 302.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4546,
    "c": 0.18435,
    "h": 329.7
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#8A1C86
secondary
#46BB4B
accent
#E9453F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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