#8B1884#8B1884

#8B1884 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.187 H 331.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8B1884
RGBrgb(139, 24, 132)
HSLhsl(304, 71%, 32%)
HSVhsv(304, 83%, 55%)
CMYKcmyk(0%, 82.7%, 5%, 45.5%)
CIE-LABlab(33.58, 57.31, -32.82)
CIE-LCHlch(33.58, 66.04, 330.21°)
OKLaboklab(45.24% 0.1634 -0.0906)
OKLCHoklch(45.24% 0.187 331)
XYZxyz(15.1389, 7.8094, 22.5354)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1884 #188B1F
analogous
#59188B #8B1884 #8B184B
triadic
#8B1884 #848B18 #18848B
tetradic
#8B1884 #8B5918 #188B1F #184B8B
square
#8B1884 #8B5918 #188B1F #184B8B
split-complementary
#8B1884 #4B8B18 #188B59
monochromatic
#230621 #570F52 #8B1884 #BF21B6 #DE3FD4

Accessibility & contrast

On white

8.20
#8B1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B1884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1884
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1884#FFFFFF#000000##FFFFFF
##8B18841.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054587
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#91294F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1884;
/* rgb */ color: rgb(139, 24, 132);
/* oklch */ color: oklch(45.2% 0.187 331.0);
Tailwind
colors: {
  custom: {
    50: '#b165a8',
    500: '#8b1884',
    950: '#000000',
  },
}
SCSS
$custom: #8b1884;
$custom-light: #b165a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1884",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 303.652,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.18687,
    "h": 331
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#8B1884
secondary
#40BE48
accent
#ED453A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8B1884

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

Preview Lab → · Contrast checker → · Palette generator →

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