#8B1780#8B1780

#8B1780 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.185 H 332.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8B1780
RGBrgb(139, 23, 128)
HSLhsl(306, 72%, 32%)
HSVhsv(306, 83%, 55%)
CMYKcmyk(0%, 83.5%, 7.9%, 45.5%)
CIE-LABlab(33.27, 56.94, -30.82)
CIE-LCHlch(33.27, 64.74, 331.57°)
OKLaboklab(44.94% 0.1642 -0.0848)
OKLCHoklch(44.94% 0.185 332.7)
XYZxyz(14.8502, 7.6616, 21.1146)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1780 #178B22
analogous
#5C178B #8B1780 #8B1746
triadic
#8B1780 #808B17 #17808B
tetradic
#8B1780 #8B5C17 #178B22 #17468B
square
#8B1780 #8B5C17 #178B22 #17468B
split-complementary
#8B1780 #468B17 #178B5C
monochromatic
#22061F #560E50 #8B1780 #C020B0 #DF3DD0

Accessibility & contrast

On white

8.29
#8B1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1780
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1780#FFFFFF#000000##FFFFFF
##8B17801.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1780;
/* rgb */ color: rgb(139, 23, 128);
/* oklch */ color: oklch(44.9% 0.185 332.7);
Tailwind
colors: {
  custom: {
    50: '#b165a5',
    500: '#8b1780',
    950: '#000000',
  },
}
SCSS
$custom: #8b1780;
$custom-light: #b165a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1780",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 305.69,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.18477,
    "h": 332.7
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#8B1780
secondary
#3FBF4B
accent
#EE4B39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1780

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

Preview Lab → · Contrast checker → · Palette generator →

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