#8B1784#8B1784

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

Color values

HEX#8B1784
RGBrgb(139, 23, 132)
HSLhsl(304, 72%, 32%)
HSVhsv(304, 83%, 55%)
CMYKcmyk(0%, 83.5%, 5%, 45.5%)
CIE-LABlab(33.50, 57.56, -32.95)
CIE-LCHlch(33.50, 66.33, 330.21°)
OKLaboklab(45.18% 0.1642 -0.091)
OKLCHoklch(45.18% 0.188 331)
XYZxyz(15.1187, 7.7690, 22.5286)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1784 #178B1E
analogous
#58178B #8B1784 #8B174A
triadic
#8B1784 #848B17 #17848B
tetradic
#8B1784 #8B5817 #178B1E #174A8B
square
#8B1784 #8B5817 #178B1E #174A8B
split-complementary
#8B1784 #4A8B17 #178B58
monochromatic
#220620 #560E52 #8B1784 #C020B6 #DF3DD5

Accessibility & contrast

On white

8.22
#8B1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1784
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1784#FFFFFF#000000##FFFFFF
##8B17841.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044587
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#91294F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1784;
/* rgb */ color: rgb(139, 23, 132);
/* oklch */ color: oklch(45.2% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#b165a8',
    500: '#8b1784',
    950: '#000000',
  },
}
SCSS
$custom: #8b1784;
$custom-light: #b165a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1784",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 303.621,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.18769,
    "h": 331
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#8B1784
secondary
#3FBF47
accent
#EE4439
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8B1784

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

Preview Lab → · Contrast checker → · Palette generator →

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