#8B1D88#8B1D88

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

Color values

HEX#8B1D88
RGBrgb(139, 29, 136)
HSLhsl(302, 65%, 33%)
HSVhsv(302, 79%, 55%)
CMYKcmyk(0%, 79.1%, 2.2%, 45.5%)
CIE-LABlab(34.29, 56.60, -34.18)
CIE-LCHlch(34.29, 66.12, 328.87°)
OKLaboklab(45.81% 0.1595 -0.0946)
OKLCHoklch(45.81% 0.185 329.3)
XYZxyz(15.5306, 8.1465, 24.0422)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D88 #1D8B20
analogous
#571D8B #8B1D88 #8B1D51
triadic
#8B1D88 #888B1D #1D888B
tetradic
#8B1D88 #8B571D #1D8B20 #1D518B
square
#8B1D88 #8B571D #1D8B20 #1D518B
split-complementary
#8B1D88 #518B1D #1D8B57
monochromatic
#260825 #581256 #8B1D88 #BE28BA #D949D5

Accessibility & contrast

On white

7.99
#8B1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D88
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D88#FFFFFF#000000##FFFFFF
##8B1D881.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#902E52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1d88;
/* rgb */ color: rgb(139, 29, 136);
/* oklch */ color: oklch(45.8% 0.185 329.3);
Tailwind
colors: {
  custom: {
    50: '#b167ab',
    500: '#8b1d88',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d88;
$custom-light: #b167ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d88",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 301.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.18542,
    "h": 329.3
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#8B1D88
secondary
#49BB4C
accent
#E8443F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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