#8A1D89#8A1D89

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

Color values

HEX#8A1D89
RGBrgb(138, 29, 137)
HSLhsl(301, 65%, 33%)
HSVhsv(301, 79%, 54%)
CMYKcmyk(0%, 79%, 0.7%, 45.9%)
CIE-LABlab(34.17, 56.55, -35.00)
CIE-LCHlch(34.17, 66.51, 328.25°)
OKLaboklab(45.71% 0.1584 -0.097)
OKLCHoklch(45.71% 0.186 328.5)
XYZxyz(15.4358, 8.0893, 24.4105)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D89 #1D8A1E
analogous
#541D8A #8A1D89 #8A1D53
triadic
#8A1D89 #898A1D #1D898A
tetradic
#8A1D89 #8A541D #1D8A1E #1D538A
square
#8A1D89 #8A541D #1D8A1E #1D538A
split-complementary
#8A1D89 #538A1D #1D8A54
monochromatic
#250825 #571257 #8A1D89 #BD28BB #D949D7

Accessibility & contrast

On white

8.02
#8A1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D89
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D89#FFFFFF#000000##FFFFFF
##8A1D891.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478C
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#8F2F53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1d89;
/* rgb */ color: rgb(138, 29, 137);
/* oklch */ color: oklch(45.7% 0.186 328.5);
Tailwind
colors: {
  custom: {
    50: '#b067ac',
    500: '#8a1d89',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d89;
$custom-light: #b067ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d89",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 300.55,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.18571,
    "h": 328.5
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#8A1D89
secondary
#48BB49
accent
#E84140
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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