#8B1D84#8B1D84

#8B1D84 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.182 H 331.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8B1D84
RGBrgb(139, 29, 132)
HSLhsl(304, 65%, 33%)
HSVhsv(304, 79%, 55%)
CMYKcmyk(0%, 79.1%, 5%, 45.5%)
CIE-LABlab(34.06, 55.95, -32.07)
CIE-LCHlch(34.06, 64.49, 330.18°)
OKLaboklab(45.57% 0.1595 -0.0885)
OKLCHoklch(45.57% 0.182 331)
XYZxyz(15.2517, 8.0349, 22.5729)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D84 #1D8B24
analogous
#5B1D8B #8B1D84 #8B1D4D
triadic
#8B1D84 #848B1D #1D848B
tetradic
#8B1D84 #8B5B1D #1D8B24 #1D4D8B
square
#8B1D84 #8B5B1D #1D8B24 #1D4D8B
split-complementary
#8B1D84 #4D8B1D #1D8B5B
monochromatic
#260824 #581254 #8B1D84 #BE28B4 #D949D0

Accessibility & contrast

On white

8.06
#8B1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8B1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D84
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D84#FFFFFF#000000##FFFFFF
##8B1D841.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104687
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#912C50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1d84;
/* rgb */ color: rgb(139, 29, 132);
/* oklch */ color: oklch(45.6% 0.182 331.0);
Tailwind
colors: {
  custom: {
    50: '#b067a8',
    500: '#8b1d84',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d84;
$custom-light: #b067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d84",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 303.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.18238,
    "h": 331
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#8B1D84
secondary
#49BB50
accent
#E84A3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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