#8B1684#8B1684

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

Color values

HEX#8B1684
RGBrgb(139, 22, 132)
HSLhsl(304, 73%, 32%)
HSVhsv(304, 84%, 55%)
CMYKcmyk(0%, 84.2%, 5%, 45.5%)
CIE-LABlab(33.41, 57.80, -33.08)
CIE-LCHlch(33.41, 66.60, 330.22°)
OKLaboklab(45.12% 0.1648 -0.0914)
OKLCHoklch(45.12% 0.188 331)
XYZxyz(15.0992, 7.7300, 22.5221)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1684 #168B1D
analogous
#58168B #8B1684 #8B164A
triadic
#8B1684 #848B16 #16848B
tetradic
#8B1684 #8B5816 #168B1D #164A8B
square
#8B1684 #8B5816 #168B1D #164A8B
split-complementary
#8B1684 #4A8B16 #168B58
monochromatic
#210520 #560E52 #8B1684 #C01EB6 #E03BD6

Accessibility & contrast

On white

8.25
#8B1684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1684
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1684#FFFFFF#000000##FFFFFF
##8B16841.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024587
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#91284E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1684;
/* rgb */ color: rgb(139, 22, 132);
/* oklch */ color: oklch(45.1% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#b165a8',
    500: '#8b1684',
    950: '#000000',
  },
}
SCSS
$custom: #8b1684;
$custom-light: #b165a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1684",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 303.59,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.18847,
    "h": 331
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#8B1684
secondary
#3EBF46
accent
#EF4338
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8B1684

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

Preview Lab → · Contrast checker → · Palette generator →

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