#8B1984#8B1984

#8B1984 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.186 H 331.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8B1984
RGBrgb(139, 25, 132)
HSLhsl(304, 70%, 32%)
HSVhsv(304, 82%, 55%)
CMYKcmyk(0%, 82%, 5%, 45.5%)
CIE-LABlab(33.67, 57.06, -32.68)
CIE-LCHlch(33.67, 65.75, 330.20°)
OKLaboklab(45.3% 0.1627 -0.0902)
OKLCHoklch(45.3% 0.186 331)
XYZxyz(15.1599, 7.8514, 22.5424)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1984 #198B20
analogous
#59198B #8B1984 #8B194B
triadic
#8B1984 #848B19 #19848B
tetradic
#8B1984 #8B5919 #198B20 #194B8B
square
#8B1984 #8B5919 #198B20 #194B8B
split-complementary
#8B1984 #4B8B19 #198B59
monochromatic
#230621 #571053 #8B1984 #BF22B5 #DD41D3

Accessibility & contrast

On white

8.17
#8B1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1984
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1984#FFFFFF#000000##FFFFFF
##8B19841.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084587
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#912A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1984;
/* rgb */ color: rgb(139, 25, 132);
/* oklch */ color: oklch(45.3% 0.186 331.0);
Tailwind
colors: {
  custom: {
    50: '#b166a8',
    500: '#8b1984',
    950: '#000000',
  },
}
SCSS
$custom: #8b1984;
$custom-light: #b166a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1984",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 303.684,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.453,
    "c": 0.18602,
    "h": 331
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#8B1984
secondary
#42BE4A
accent
#EC463B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1984

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

Preview Lab → · Contrast checker → · Palette generator →

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