#84178E#84178E

#84178E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.192 H 324.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#84178E
RGBrgb(132, 23, 142)
HSLhsl(295, 72%, 32%)
HSVhsv(295, 84%, 56%)
CMYKcmyk(7%, 83.8%, 0%, 44.3%)
CIE-LABlab(32.86, 57.82, -40.24)
CIE-LCHlch(32.86, 70.44, 325.16°)
OKLaboklab(44.68% 0.1559 -0.1124)
OKLCHoklch(44.68% 0.192 324.2)
XYZxyz(14.7042, 7.4723, 26.2538)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84178E #218E17
analogous
#49178E #84178E #8E175D
triadic
#84178E #8E8417 #178E84
tetradic
#84178E #8E4917 #218E17 #175D8E
square
#84178E #8E4917 #218E17 #175D8E
split-complementary
#84178E #5D8E17 #178E49
monochromatic
#220625 #530E59 #84178E #B520C3 #D23FE0

Accessibility & contrast

On white

8.42
#84178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#84178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84178E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84178E#FFFFFF#000000##FFFFFF
##84178E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#873054
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #84178e;
/* rgb */ color: rgb(132, 23, 142);
/* oklch */ color: oklch(44.7% 0.192 324.2);
Tailwind
colors: {
  custom: {
    50: '#ac64b0',
    500: '#84178e',
    950: '#000000',
  },
}
SCSS
$custom: #84178e;
$custom-light: #ac64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#84178e",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 294.958,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44684,
    "c": 0.19219,
    "h": 324.2
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#84178E
secondary
#4BC040
accent
#EF3948
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #84178E

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

Preview Lab → · Contrast checker → · Palette generator →

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