#8B1B88#8B1B88

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

Color values

HEX#8B1B88
RGBrgb(139, 27, 136)
HSLhsl(302, 67%, 33%)
HSVhsv(302, 81%, 55%)
CMYKcmyk(0%, 80.6%, 2.2%, 45.5%)
CIE-LABlab(34.09, 57.17, -34.49)
CIE-LCHlch(34.09, 66.77, 328.89°)
OKLaboklab(45.67% 0.1611 -0.0955)
OKLCHoklch(45.67% 0.187 329.3)
XYZxyz(15.4832, 8.0516, 24.0264)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B88 #1B8B1E
analogous
#561B8B #8B1B88 #8B1B50
triadic
#8B1B88 #888B1B #1B888B
tetradic
#8B1B88 #8B561B #1B8B1E #1B508B
square
#8B1B88 #8B561B #1B8B1E #1B508B
split-complementary
#8B1B88 #508B1B #1B8B56
monochromatic
#250724 #581156 #8B1B88 #BE25BA #DB45D7

Accessibility & contrast

On white

8.05
#8B1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8B1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B88
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B88#FFFFFF#000000##FFFFFF
##8B1B881.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#902D52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1b88;
/* rgb */ color: rgb(139, 27, 136);
/* oklch */ color: oklch(45.7% 0.187 329.3);
Tailwind
colors: {
  custom: {
    50: '#b167ab',
    500: '#8b1b88',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b88;
$custom-light: #b167ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b88",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 301.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.18726,
    "h": 329.3
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#8B1B88
secondary
#45BC49
accent
#EA423D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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