#8B1880#8B1880

#8B1880 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.184 H 332.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8B1880
RGBrgb(139, 24, 128)
HSLhsl(306, 71%, 32%)
HSVhsv(306, 83%, 55%)
CMYKcmyk(0%, 82.7%, 7.9%, 45.5%)
CIE-LABlab(33.35, 56.69, -30.68)
CIE-LCHlch(33.35, 64.46, 331.58°)
OKLaboklab(45% 0.1634 -0.0844)
OKLCHoklch(45% 0.184 332.7)
XYZxyz(14.8705, 7.7020, 21.1214)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1880 #188B23
analogous
#5D188B #8B1880 #8B1847
triadic
#8B1880 #808B18 #18808B
tetradic
#8B1880 #8B5D18 #188B23 #18478B
square
#8B1880 #8B5D18 #188B23 #18478B
split-complementary
#8B1880 #478B18 #188B5D
monochromatic
#230620 #570F50 #8B1880 #BF21B0 #DE3FCF

Accessibility & contrast

On white

8.27
#8B1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8B1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1880
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1880#FFFFFF#000000##FFFFFF
##8B18801.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4483
Deuteranopia (green-blind)
#41547D
Tritanopia (blue-blind)
#91274C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1880;
/* rgb */ color: rgb(139, 24, 128);
/* oklch */ color: oklch(45.0% 0.184 332.7);
Tailwind
colors: {
  custom: {
    50: '#b165a5',
    500: '#8b1880',
    950: '#000000',
  },
}
SCSS
$custom: #8b1880;
$custom-light: #b165a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1880",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 305.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45,
    "c": 0.18394,
    "h": 332.7
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#8B1880
secondary
#40BE4D
accent
#ED4C3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1880

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

Preview Lab → · Contrast checker → · Palette generator →

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