#8A1C88#8A1C88

#8A1C88 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.186 H 328.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A1C88
RGBrgb(138, 28, 136)
HSLhsl(301, 66%, 33%)
HSVhsv(301, 80%, 54%)
CMYKcmyk(0%, 79.7%, 1.4%, 45.9%)
CIE-LABlab(34.01, 56.67, -34.63)
CIE-LCHlch(34.01, 66.42, 328.57°)
OKLaboklab(45.58% 0.1592 -0.0959)
OKLCHoklch(45.58% 0.186 328.9)
XYZxyz(15.3403, 8.0125, 24.0264)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C88 #1C8A1E
analogous
#551C8A #8A1C88 #8A1C51
triadic
#8A1C88 #888A1C #1C888A
tetradic
#8A1C88 #8A551C #1C8A1E #1C518A
square
#8A1C88 #8A551C #1C8A1E #1C518A
split-complementary
#8A1C88 #518A1C #1C8A55
monochromatic
#240724 #571256 #8A1C88 #BD26BA #DA47D7

Accessibility & contrast

On white

8.07
#8A1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A1C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C88
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C88#FFFFFF#000000##FFFFFF
##8A1C881.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02478B
Deuteranopia (green-blind)
#3D5585
Tritanopia (blue-blind)
#8F2E52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1c88;
/* rgb */ color: rgb(138, 28, 136);
/* oklch */ color: oklch(45.6% 0.186 328.9);
Tailwind
colors: {
  custom: {
    50: '#b067ab',
    500: '#8a1c88',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c88;
$custom-light: #b067ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c88",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 301.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.18587,
    "h": 328.9
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#8A1C88
secondary
#46BB49
accent
#E9423F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1C88

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

Preview Lab → · Contrast checker → · Palette generator →

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