#8A1C83#8A1C83

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

Color values

HEX#8A1C83
RGBrgb(138, 28, 131)
HSLhsl(304, 66%, 33%)
HSVhsv(304, 80%, 54%)
CMYKcmyk(0%, 79.7%, 5.1%, 45.9%)
CIE-LABlab(33.72, 55.86, -31.99)
CIE-LCHlch(33.72, 64.37, 330.20°)
OKLaboklab(45.28% 0.1593 -0.0883)
OKLCHoklch(45.28% 0.182 331)
XYZxyz(14.9932, 7.8737, 22.1984)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C83 #1C8A23
analogous
#5A1C8A #8A1C83 #8A1C4C
triadic
#8A1C83 #838A1C #1C838A
tetradic
#8A1C83 #8A5A1C #1C8A23 #1C4C8A
square
#8A1C83 #8A5A1C #1C8A23 #1C4C8A
split-complementary
#8A1C83 #4C8A1C #1C8A5A
monochromatic
#240722 #571253 #8A1C83 #BD26B3 #DA47D0

Accessibility & contrast

On white

8.16
#8A1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A1C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C83
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C83#FFFFFF#000000##FFFFFF
##8A1C831.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#405580
Tritanopia (blue-blind)
#902B4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1c83;
/* rgb */ color: rgb(138, 28, 131);
/* oklch */ color: oklch(45.3% 0.182 331.0);
Tailwind
colors: {
  custom: {
    50: '#b066a7',
    500: '#8a1c83',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c83;
$custom-light: #b066a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c83",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 303.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.18207,
    "h": 331
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#8A1C83
secondary
#46BB4E
accent
#E9493F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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