#8B1B89#8B1B89

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

Color values

HEX#8B1B89
RGBrgb(139, 27, 137)
HSLhsl(301, 67%, 33%)
HSVhsv(301, 81%, 55%)
CMYKcmyk(0%, 80.6%, 1.4%, 45.5%)
CIE-LABlab(34.15, 57.33, -35.02)
CIE-LCHlch(34.15, 67.18, 328.58°)
OKLaboklab(45.73% 0.1611 -0.097)
OKLCHoklch(45.73% 0.188 328.9)
XYZxyz(15.5546, 8.0802, 24.4024)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B89 #1B8B1D
analogous
#551B8B #8B1B89 #8B1B51
triadic
#8B1B89 #898B1B #1B898B
tetradic
#8B1B89 #8B551B #1B8B1D #1B518B
square
#8B1B89 #8B551B #1B8B1D #1B518B
split-complementary
#8B1B89 #518B1B #1B8B55
monochromatic
#250724 #581156 #8B1B89 #BE25BC #DB45D8

Accessibility & contrast

On white

8.03
#8B1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1B89
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B89#FFFFFF#000000##FFFFFF
##8B1B891.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#902E52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1b89;
/* rgb */ color: rgb(139, 27, 137);
/* oklch */ color: oklch(45.7% 0.188 328.9);
Tailwind
colors: {
  custom: {
    50: '#b167ac',
    500: '#8b1b89',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b89;
$custom-light: #b167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b89",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 301.071,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.18803,
    "h": 328.9
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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