#8A1C80#8A1C80

#8A1C80 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.180 H 332.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8A1C80
RGBrgb(138, 28, 128)
HSLhsl(305, 66%, 33%)
HSVhsv(305, 80%, 54%)
CMYKcmyk(0%, 79.7%, 7.2%, 45.9%)
CIE-LABlab(33.55, 55.38, -30.39)
CIE-LCHlch(33.55, 63.17, 331.25°)
OKLaboklab(45.11% 0.1592 -0.0836)
OKLCHoklch(45.11% 0.18 332.3)
XYZxyz(14.7928, 7.7936, 21.1431)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C80 #1C8A26
analogous
#5D1C8A #8A1C80 #8A1C49
triadic
#8A1C80 #808A1C #1C808A
tetradic
#8A1C80 #8A5D1C #1C8A26 #1C498A
square
#8A1C80 #8A5D1C #1C8A26 #1C498A
split-complementary
#8A1C80 #498A1C #1C8A5D
monochromatic
#240722 #571251 #8A1C80 #BD26AF #DA47CC

Accessibility & contrast

On white

8.21
#8A1C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A1C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C80
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C80#FFFFFF#000000##FFFFFF
##8A1C801.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134583
Deuteranopia (green-blind)
#42547D
Tritanopia (blue-blind)
#902A4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1c80;
/* rgb */ color: rgb(138, 28, 128);
/* oklch */ color: oklch(45.1% 0.180 332.3);
Tailwind
colors: {
  custom: {
    50: '#b066a5',
    500: '#8a1c80',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c80;
$custom-light: #b066a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c80",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 305.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.17982,
    "h": 332.3
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#8A1C80
secondary
#46BB51
accent
#E94E3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1C80

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

Preview Lab → · Contrast checker → · Palette generator →

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