#82177D#82177D

#82177D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.178 H 330.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#82177D
RGBrgb(130, 23, 125)
HSLhsl(303, 70%, 30%)
HSVhsv(303, 82%, 51%)
CMYKcmyk(0%, 82.3%, 3.8%, 49%)
CIE-LABlab(31.44, 54.53, -31.94)
CIE-LCHlch(31.44, 63.20, 329.65°)
OKLaboklab(43.27% 0.1547 -0.0883)
OKLCHoklch(43.27% 0.178 330.3)
XYZxyz(13.2139, 6.8404, 20.0224)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82177D #17821C
analogous
#521782 #82177D #821747
triadic
#82177D #7D8217 #177D82
tetradic
#82177D #825217 #17821C #174782
square
#82177D #825217 #17821C #174782
split-complementary
#82177D #478217 #178252
monochromatic
#1A0519 #4E0E4B #82177D #B620AF #DC38D4

Accessibility & contrast

On white

8.87
#82177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#82177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82177D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82177D#FFFFFF#000000##FFFFFF
##82177D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034180
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#87274A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #82177d;
/* rgb */ color: rgb(130, 23, 125);
/* oklch */ color: oklch(43.3% 0.178 330.3);
Tailwind
colors: {
  custom: {
    50: '#aa63a3',
    500: '#82177d',
    950: '#000000',
  },
}
SCSS
$custom: #82177d;
$custom-light: #aa63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#82177d",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 302.804,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.43271,
    "c": 0.17815,
    "h": 330.3
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#82177D
secondary
#3EB644
accent
#ED433B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #82177D

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

Preview Lab → · Contrast checker → · Palette generator →

#82177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva