#8B1883#8B1883

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

Color values

HEX#8B1883
RGBrgb(139, 24, 131)
HSLhsl(304, 71%, 32%)
HSVhsv(304, 83%, 55%)
CMYKcmyk(0%, 82.7%, 5.8%, 45.5%)
CIE-LABlab(33.53, 57.16, -32.28)
CIE-LCHlch(33.53, 65.64, 330.54°)
OKLaboklab(45.18% 0.1634 -0.0891)
OKLCHoklch(45.18% 0.186 331.4)
XYZxyz(15.0708, 7.7822, 22.1767)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1883 #188B20
analogous
#5A188B #8B1883 #8B184A
triadic
#8B1883 #838B18 #18838B
tetradic
#8B1883 #8B5A18 #188B20 #184A8B
square
#8B1883 #8B5A18 #188B20 #184A8B
split-complementary
#8B1883 #4A8B18 #188B5A
monochromatic
#230621 #570F52 #8B1883 #BF21B4 #DE3FD3

Accessibility & contrast

On white

8.22
#8B1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1883
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1883#FFFFFF#000000##FFFFFF
##8B18831.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084586
Deuteranopia (green-blind)
#405480
Tritanopia (blue-blind)
#91294E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1883;
/* rgb */ color: rgb(139, 24, 131);
/* oklch */ color: oklch(45.2% 0.186 331.4);
Tailwind
colors: {
  custom: {
    50: '#b165a7',
    500: '#8b1883',
    950: '#000000',
  },
}
SCSS
$custom: #8b1883;
$custom-light: #b165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1883",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 304.174,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.18613,
    "h": 331.4
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#8B1883
secondary
#40BE49
accent
#ED473A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1883

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

Preview Lab → · Contrast checker → · Palette generator →

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