#8A1480#8A1480

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

Color values

HEX#8A1480
RGBrgb(138, 20, 128)
HSLhsl(305, 75%, 31%)
HSVhsv(305, 86%, 54%)
CMYKcmyk(0%, 85.5%, 7.2%, 45.9%)
CIE-LABlab(32.84, 57.43, -31.51)
CIE-LCHlch(32.84, 65.51, 331.25°)
OKLaboklab(44.6% 0.1652 -0.0868)
OKLCHoklch(44.6% 0.187 332.3)
XYZxyz(14.6277, 7.4634, 21.0881)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1480 #148A1E
analogous
#59148A #8A1480 #8A1445
triadic
#8A1480 #808A14 #14808A
tetradic
#8A1480 #8A5914 #148A1E #14458A
square
#8A1480 #8A5914 #148A1E #14458A
split-complementary
#8A1480 #458A14 #148A59
monochromatic
#1F051D #550C4E #8A1480 #BF1CB2 #E236D3

Accessibility & contrast

On white

8.43
#8A1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1480
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1480#FFFFFF#000000##FFFFFF
##8A14801.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064383
Deuteranopia (green-blind)
#3F537D
Tritanopia (blue-blind)
#90254C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1480;
/* rgb */ color: rgb(138, 20, 128);
/* oklch */ color: oklch(44.6% 0.187 332.3);
Tailwind
colors: {
  custom: {
    50: '#b064a5',
    500: '#8a1480',
    950: '#000000',
  },
}
SCSS
$custom: #8a1480;
$custom-light: #b064a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1480",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 305.085,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44599,
    "c": 0.18662,
    "h": 332.3
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#8A1480
secondary
#3CBE47
accent
#F14636
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1480

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

Preview Lab → · Contrast checker → · Palette generator →

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