#8B1982#8B1982

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

Color values

HEX#8B1982
RGBrgb(139, 25, 130)
HSLhsl(305, 70%, 32%)
HSVhsv(305, 82%, 55%)
CMYKcmyk(0%, 82%, 6.5%, 45.5%)
CIE-LABlab(33.56, 56.74, -31.61)
CIE-LCHlch(33.56, 64.95, 330.88°)
OKLaboklab(45.18% 0.1627 -0.0871)
OKLCHoklch(45.18% 0.185 331.8)
XYZxyz(15.0244, 7.7972, 21.8285)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1982 #198B22
analogous
#5B198B #8B1982 #8B1949
triadic
#8B1982 #828B19 #19828B
tetradic
#8B1982 #8B5B19 #198B22 #19498B
square
#8B1982 #8B5B19 #198B22 #19498B
split-complementary
#8B1982 #498B19 #198B5B
monochromatic
#230621 #571051 #8B1982 #BF22B3 #DD41D1

Accessibility & contrast

On white

8.21
#8B1982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1982
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1982#FFFFFF#000000##FFFFFF
##8B19821.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4585
Deuteranopia (green-blind)
#41547F
Tritanopia (blue-blind)
#91294E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1982;
/* rgb */ color: rgb(139, 25, 130);
/* oklch */ color: oklch(45.2% 0.185 331.8);
Tailwind
colors: {
  custom: {
    50: '#b166a7',
    500: '#8b1982',
    950: '#000000',
  },
}
SCSS
$custom: #8b1982;
$custom-light: #b166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1982",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 304.737,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45181,
    "c": 0.18455,
    "h": 331.8
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#8B1982
secondary
#42BE4C
accent
#EC493B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1982

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

Preview Lab → · Contrast checker → · Palette generator →

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