#8B1881#8B1881

#8B1881 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.185 H 332.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8B1881
RGBrgb(139, 24, 129)
HSLhsl(305, 71%, 32%)
HSVhsv(305, 83%, 55%)
CMYKcmyk(0%, 82.7%, 7.2%, 45.5%)
CIE-LABlab(33.41, 56.84, -31.22)
CIE-LCHlch(33.41, 64.85, 331.22°)
OKLaboklab(45.06% 0.1634 -0.086)
OKLCHoklch(45.06% 0.185 332.3)
XYZxyz(14.9366, 7.7285, 21.4697)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1881 #188B22
analogous
#5B188B #8B1881 #8B1848
triadic
#8B1881 #818B18 #18818B
tetradic
#8B1881 #8B5B18 #188B22 #18488B
square
#8B1881 #8B5B18 #188B22 #18488B
split-complementary
#8B1881 #488B18 #188B5B
monochromatic
#230620 #570F51 #8B1881 #BF21B1 #DE3FD0

Accessibility & contrast

On white

8.25
#8B1881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B1881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1881
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1881#FFFFFF#000000##FFFFFF
##8B18811.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4484
Deuteranopia (green-blind)
#41547E
Tritanopia (blue-blind)
#91274D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1881;
/* rgb */ color: rgb(139, 24, 129);
/* oklch */ color: oklch(45.1% 0.185 332.3);
Tailwind
colors: {
  custom: {
    50: '#b165a6',
    500: '#8b1881',
    950: '#000000',
  },
}
SCSS
$custom: #8b1881;
$custom-light: #b165a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1881",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 305.217,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.18467,
    "h": 332.3
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#8B1881
secondary
#40BE4B
accent
#ED4A3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1881

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

Preview Lab → · Contrast checker → · Palette generator →

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