#8A1E86#8A1E86

#8A1E86 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.182 H 329.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A1E86
RGBrgb(138, 30, 134)
HSLhsl(302, 64%, 33%)
HSVhsv(302, 78%, 54%)
CMYKcmyk(0%, 78.3%, 2.9%, 45.9%)
CIE-LABlab(34.10, 55.76, -33.26)
CIE-LCHlch(34.10, 64.92, 329.19°)
OKLaboklab(45.61% 0.1576 -0.0919)
OKLCHoklch(45.61% 0.182 329.7)
XYZxyz(15.2485, 8.0542, 23.3011)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E86 #1E8A22
analogous
#581E8A #8A1E86 #8A1E50
triadic
#8A1E86 #868A1E #1E868A
tetradic
#8A1E86 #8A581E #1E8A22 #1E508A
square
#8A1E86 #8A581E #1E8A22 #1E508A
split-complementary
#8A1E86 #508A1E #1E8A58
monochromatic
#250824 #581355 #8A1E86 #BC29B7 #D84BD3

Accessibility & contrast

On white

8.04
#8A1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E86
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E86#FFFFFF#000000##FFFFFF
##8A1E861.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#8F2E51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1e86;
/* rgb */ color: rgb(138, 30, 134);
/* oklch */ color: oklch(45.6% 0.182 329.7);
Tailwind
colors: {
  custom: {
    50: '#b067aa',
    500: '#8a1e86',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e86;
$custom-light: #b067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e86",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 302.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.18242,
    "h": 329.7
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#8A1E86
secondary
#4ABA4E
accent
#E74741
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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