#84178B#84178B

#84178B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.190 H 325.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#84178B
RGBrgb(132, 23, 139)
HSLhsl(296, 72%, 32%)
HSVhsv(296, 83%, 55%)
CMYKcmyk(5%, 83.5%, 0%, 45.5%)
CIE-LABlab(32.66, 57.29, -38.70)
CIE-LCHlch(32.66, 69.14, 325.96°)
OKLaboklab(44.48% 0.1562 -0.1079)
OKLCHoklch(44.48% 0.19 325.4)
XYZxyz(14.4820, 7.3834, 25.0835)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84178B #1E8B17
analogous
#4A178B #84178B #8B1758
triadic
#84178B #8B8417 #178B84
tetradic
#84178B #8B4A17 #1E8B17 #17588B
square
#84178B #8B4A17 #1E8B17 #17588B
split-complementary
#84178B #588B17 #178B4A
monochromatic
#200622 #520E56 #84178B #B620C0 #D53DDF

Accessibility & contrast

On white

8.48
#84178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#84178B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84178B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84178B#FFFFFF#000000##FFFFFF
##84178B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#872F53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #84178b;
/* rgb */ color: rgb(132, 23, 139);
/* oklch */ color: oklch(44.5% 0.190 325.4);
Tailwind
colors: {
  custom: {
    50: '#ac64ad',
    500: '#84178b',
    950: '#000000',
  },
}
SCSS
$custom: #84178b;
$custom-light: #ac64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#84178b",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 296.379,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.18983,
    "h": 325.4
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#84178B
secondary
#47BF3F
accent
#EE3944
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #84178B

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

Preview Lab → · Contrast checker → · Palette generator →

#84178B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva