#8A1681#8A1681

#8A1681 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.186 H 331.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A1681
RGBrgb(138, 22, 129)
HSLhsl(305, 73%, 31%)
HSVhsv(305, 84%, 54%)
CMYKcmyk(0%, 84.1%, 6.5%, 45.9%)
CIE-LABlab(33.06, 57.12, -31.79)
CIE-LCHlch(33.06, 65.37, 330.90°)
OKLaboklab(44.77% 0.1638 -0.0876)
OKLCHoklch(44.77% 0.186 331.9)
XYZxyz(14.7306, 7.5633, 21.4487)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1681 #168A1F
analogous
#59168A #8A1681 #8A1647
triadic
#8A1681 #818A16 #16818A
tetradic
#8A1681 #8A5916 #168A1F #16478A
square
#8A1681 #8A5916 #168A1F #16478A
split-complementary
#8A1681 #478A16 #168A59
monochromatic
#20051E #550E50 #8A1681 #BF1EB2 #E03BD3

Accessibility & contrast

On white

8.36
#8A1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A1681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1681
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1681#FFFFFF#000000##FFFFFF
##8A16811.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074484
Deuteranopia (green-blind)
#3F537E
Tritanopia (blue-blind)
#90274D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1681;
/* rgb */ color: rgb(138, 22, 129);
/* oklch */ color: oklch(44.8% 0.186 331.9);
Tailwind
colors: {
  custom: {
    50: '#b064a6',
    500: '#8a1681',
    950: '#000000',
  },
}
SCSS
$custom: #8a1681;
$custom-light: #b064a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1681",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 304.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44772,
    "c": 0.18581,
    "h": 331.9
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#8A1681
secondary
#3EBE48
accent
#EF4739
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1681

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

Preview Lab → · Contrast checker → · Palette generator →

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