#8A1A83#8A1A83

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

Color values

HEX#8A1A83
RGBrgb(138, 26, 131)
HSLhsl(304, 68%, 32%)
HSVhsv(304, 81%, 54%)
CMYKcmyk(0%, 81.2%, 5.1%, 45.9%)
CIE-LABlab(33.52, 56.42, -32.30)
CIE-LCHlch(33.52, 65.01, 330.21°)
OKLaboklab(45.14% 0.1609 -0.0891)
OKLCHoklch(45.14% 0.184 331)
XYZxyz(14.9474, 7.7820, 22.1832)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A83 #1A8A21
analogous
#591A8A #8A1A83 #8A1A4B
triadic
#8A1A83 #838A1A #1A838A
tetradic
#8A1A83 #8A591A #1A8A21 #1A4B8A
square
#8A1A83 #8A591A #1A8A21 #1A4B8A
split-complementary
#8A1A83 #4B8A1A #1A8A59
monochromatic
#230721 #571052 #8A1A83 #BD24B4 #DC43D2

Accessibility & contrast

On white

8.22
#8A1A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A83
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A83#FFFFFF#000000##FFFFFF
##8A1A831.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4586
Deuteranopia (green-blind)
#405480
Tritanopia (blue-blind)
#902A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1a83;
/* rgb */ color: rgb(138, 26, 131);
/* oklch */ color: oklch(45.1% 0.184 331.0);
Tailwind
colors: {
  custom: {
    50: '#b066a7',
    500: '#8a1a83',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a83;
$custom-light: #b066a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a83",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 303.75,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.18392,
    "h": 331
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#8A1A83
secondary
#43BD4B
accent
#EB483D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1A83

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

Preview Lab → · Contrast checker → · Palette generator →

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