#8A1B89#8A1B89

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

Color values

HEX#8A1B89
RGBrgb(138, 27, 137)
HSLhsl(301, 67%, 32%)
HSVhsv(301, 80%, 54%)
CMYKcmyk(0%, 80.4%, 0.7%, 45.9%)
CIE-LABlab(33.97, 57.12, -35.31)
CIE-LCHlch(33.97, 67.15, 328.27°)
OKLaboklab(45.57% 0.16 -0.0979)
OKLCHoklch(45.57% 0.188 328.5)
XYZxyz(15.3884, 7.9945, 24.3947)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B89 #1B8A1C
analogous
#541B8A #8A1B89 #8A1B51
triadic
#8A1B89 #898A1B #1B898A
tetradic
#8A1B89 #8A541B #1B8A1C #1B518A
square
#8A1B89 #8A541B #1B8A1C #1B518A
split-complementary
#8A1B89 #518A1B #1B8A54
monochromatic
#240723 #571156 #8A1B89 #BD25BC #DB45D9

Accessibility & contrast

On white

8.08
#8A1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B89
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B89#FFFFFF#000000##FFFFFF
##8A1B891.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#3C5586
Tritanopia (blue-blind)
#8F2E52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1b89;
/* rgb */ color: rgb(138, 27, 137);
/* oklch */ color: oklch(45.6% 0.188 328.5);
Tailwind
colors: {
  custom: {
    50: '#b066ac',
    500: '#8a1b89',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b89;
$custom-light: #b066ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b89",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 300.541,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.18755,
    "h": 328.5
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#8A1B89
secondary
#45BC46
accent
#EA3F3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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