#8A1D88#8A1D88

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

Color values

HEX#8A1D88
RGBrgb(138, 29, 136)
HSLhsl(301, 65%, 33%)
HSVhsv(301, 79%, 54%)
CMYKcmyk(0%, 79%, 1.4%, 45.9%)
CIE-LABlab(34.11, 56.38, -34.48)
CIE-LCHlch(34.11, 66.09, 328.56°)
OKLaboklab(45.65% 0.1584 -0.0955)
OKLCHoklch(45.65% 0.185 328.9)
XYZxyz(15.3644, 8.0608, 24.0344)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D88 #1D8A1F
analogous
#551D8A #8A1D88 #8A1D51
triadic
#8A1D88 #888A1D #1D888A
tetradic
#8A1D88 #8A551D #1D8A1F #1D518A
square
#8A1D88 #8A551D #1D8A1F #1D518A
split-complementary
#8A1D88 #518A1D #1D8A55
monochromatic
#250824 #571256 #8A1D88 #BD28BA #D949D6

Accessibility & contrast

On white

8.04
#8A1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D88
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D88#FFFFFF#000000##FFFFFF
##8A1D881.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1d88;
/* rgb */ color: rgb(138, 29, 136);
/* oklch */ color: oklch(45.7% 0.185 328.9);
Tailwind
colors: {
  custom: {
    50: '#b067ab',
    500: '#8a1d88',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d88;
$custom-light: #b067ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d88",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 301.101,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.18493,
    "h": 328.9
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#8A1D88
secondary
#48BB4A
accent
#E84340
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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