#8B1980#8B1980

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

Color values

HEX#8B1980
RGBrgb(139, 25, 128)
HSLhsl(306, 70%, 32%)
HSVhsv(306, 82%, 55%)
CMYKcmyk(0%, 82%, 7.9%, 45.5%)
CIE-LABlab(33.44, 56.43, -30.54)
CIE-LCHlch(33.44, 64.16, 331.58°)
OKLaboklab(45.06% 0.1627 -0.084)
OKLCHoklch(45.06% 0.183 332.7)
XYZxyz(14.8915, 7.7440, 21.1283)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1980 #198B24
analogous
#5D198B #8B1980 #8B1947
triadic
#8B1980 #808B19 #19808B
tetradic
#8B1980 #8B5D19 #198B24 #19478B
square
#8B1980 #8B5D19 #198B24 #19478B
split-complementary
#8B1980 #478B19 #198B5D
monochromatic
#230620 #571050 #8B1980 #BF22B0 #DD41CE

Accessibility & contrast

On white

8.24
#8B1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1980
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1980#FFFFFF#000000##FFFFFF
##8B19801.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104483
Deuteranopia (green-blind)
#42547D
Tritanopia (blue-blind)
#91274D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1980;
/* rgb */ color: rgb(139, 25, 128);
/* oklch */ color: oklch(45.1% 0.183 332.7);
Tailwind
colors: {
  custom: {
    50: '#b165a5',
    500: '#8b1980',
    950: '#000000',
  },
}
SCSS
$custom: #8b1980;
$custom-light: #b165a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1980",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 305.789,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45064,
    "c": 0.18308,
    "h": 332.7
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#8B1980
secondary
#42BE4E
accent
#EC4D3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1980

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

Preview Lab → · Contrast checker → · Palette generator →

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