#8A1C84#8A1C84

#8A1C84 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 330.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8A1C84
RGBrgb(138, 28, 132)
HSLhsl(303, 66%, 33%)
HSVhsv(303, 80%, 54%)
CMYKcmyk(0%, 79.7%, 4.3%, 45.9%)
CIE-LABlab(33.78, 56.02, -32.52)
CIE-LCHlch(33.78, 64.77, 329.86°)
OKLaboklab(45.34% 0.1593 -0.0898)
OKLCHoklch(45.34% 0.183 330.6)
XYZxyz(15.0613, 7.9009, 22.5571)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C84 #1C8A22
analogous
#591C8A #8A1C84 #8A1C4D
triadic
#8A1C84 #848A1C #1C848A
tetradic
#8A1C84 #8A591C #1C8A22 #1C4D8A
square
#8A1C84 #8A591C #1C8A22 #1C4D8A
split-complementary
#8A1C84 #4D8A1C #1C8A59
monochromatic
#240723 #571253 #8A1C84 #BD26B5 #DA47D2

Accessibility & contrast

On white

8.14
#8A1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C84
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C84#FFFFFF#000000##FFFFFF
##8A1C841.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#902C50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1c84;
/* rgb */ color: rgb(138, 28, 132);
/* oklch */ color: oklch(45.3% 0.183 330.6);
Tailwind
colors: {
  custom: {
    50: '#b067a8',
    500: '#8a1c84',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c84;
$custom-light: #b067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c84",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 303.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4534,
    "c": 0.18282,
    "h": 330.6
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#8A1C84
secondary
#46BB4D
accent
#E9483F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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