#8A1B88#8A1B88

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

Color values

HEX#8A1B88
RGBrgb(138, 27, 136)
HSLhsl(301, 67%, 32%)
HSVhsv(301, 80%, 54%)
CMYKcmyk(0%, 80.4%, 1.4%, 45.9%)
CIE-LABlab(33.91, 56.95, -34.79)
CIE-LCHlch(33.91, 66.74, 328.58°)
OKLaboklab(45.51% 0.16 -0.0964)
OKLCHoklch(45.51% 0.187 328.9)
XYZxyz(15.3170, 7.9659, 24.0186)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B88 #1B8A1D
analogous
#551B8A #8A1B88 #8A1B51
triadic
#8A1B88 #888A1B #1B888A
tetradic
#8A1B88 #8A551B #1B8A1D #1B518A
square
#8A1B88 #8A551B #1B8A1D #1B518A
split-complementary
#8A1B88 #518A1B #1B8A55
monochromatic
#240723 #571156 #8A1B88 #BD25BA #DB45D8

Accessibility & contrast

On white

8.10
#8A1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B88
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B88#FFFFFF#000000##FFFFFF
##8A1B881.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1b88;
/* rgb */ color: rgb(138, 27, 136);
/* oklch */ color: oklch(45.5% 0.187 328.9);
Tailwind
colors: {
  custom: {
    50: '#b066ab',
    500: '#8a1b88',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b88;
$custom-light: #b066ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b88",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 301.081,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.18679,
    "h": 328.9
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#8A1B88
secondary
#45BC47
accent
#EA413E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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