#8C1A8A#8C1A8A

#8C1A8A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.190 H 328.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8C1A8A
RGBrgb(140, 26, 138)
HSLhsl(301, 69%, 33%)
HSVhsv(301, 81%, 55%)
CMYKcmyk(0%, 81.4%, 1.4%, 45.1%)
CIE-LABlab(34.29, 57.97, -35.40)
CIE-LCHlch(34.29, 67.93, 328.59°)
OKLaboklab(45.89% 0.1629 -0.0981)
OKLCHoklch(45.89% 0.19 328.9)
XYZxyz(15.7719, 8.1504, 24.7823)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1A8A #1A8C1C
analogous
#551A8C #8C1A8A #8C1A51
triadic
#8C1A8A #8A8C1A #1A8A8C
tetradic
#8C1A8A #8C551A #1A8C1C #1A518C
square
#8C1A8A #8C551A #1A8C1C #1A518C
split-complementary
#8C1A8A #518C1A #1A8C55
monochromatic
#250724 #581057 #8C1A8A #C024BD #DC44DA

Accessibility & contrast

On white

7.99
#8C1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8C1A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1A8A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1A8A#FFFFFF#000000##FFFFFF
##8C1A8A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3D5687
Tritanopia (blue-blind)
#912D53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8c1a8a;
/* rgb */ color: rgb(140, 26, 138);
/* oklch */ color: oklch(45.9% 0.190 328.9);
Tailwind
colors: {
  custom: {
    50: '#b166ac',
    500: '#8c1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8c1a8a;
$custom-light: #b166ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1a8a",
  "rgb": {
    "r": 140,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 301.053,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.19013,
    "h": 328.9
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#8C1A8A
secondary
#44BE46
accent
#EC3F3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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