#8A1481#8A1481

#8A1481 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.187 H 331.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8A1481
RGBrgb(138, 20, 129)
HSLhsl(305, 75%, 31%)
HSVhsv(305, 86%, 54%)
CMYKcmyk(0%, 85.5%, 6.5%, 45.9%)
CIE-LABlab(32.90, 57.59, -32.04)
CIE-LCHlch(32.90, 65.90, 330.91°)
OKLaboklab(44.66% 0.1652 -0.0884)
OKLCHoklch(44.66% 0.187 331.9)
XYZxyz(14.6939, 7.4898, 21.4364)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1481 #148A1D
analogous
#58148A #8A1481 #8A1446
triadic
#8A1481 #818A14 #14818A
tetradic
#8A1481 #8A5814 #148A1D #14468A
square
#8A1481 #8A5814 #148A1D #14468A
split-complementary
#8A1481 #468A14 #148A58
monochromatic
#1F051D #550C4F #8A1481 #BF1CB3 #E236D5

Accessibility & contrast

On white

8.41
#8A1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1481
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1481#FFFFFF#000000##FFFFFF
##8A14811.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044384
Deuteranopia (green-blind)
#3F537E
Tritanopia (blue-blind)
#90264C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1481;
/* rgb */ color: rgb(138, 20, 129);
/* oklch */ color: oklch(44.7% 0.187 331.9);
Tailwind
colors: {
  custom: {
    50: '#b064a6',
    500: '#8a1481',
    950: '#000000',
  },
}
SCSS
$custom: #8a1481;
$custom-light: #b064a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1481",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 304.576,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44659,
    "c": 0.18734,
    "h": 331.9
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#8A1481
secondary
#3CBE46
accent
#F14536
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1481

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

Preview Lab → · Contrast checker → · Palette generator →

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