#82157A#82157A

#82157A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.178 H 331.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#82157A
RGBrgb(130, 21, 122)
HSLhsl(304, 72%, 30%)
HSVhsv(304, 84%, 51%)
CMYKcmyk(0%, 83.8%, 6.2%, 49%)
CIE-LABlab(31.09, 54.57, -30.61)
CIE-LCHlch(31.09, 62.57, 330.71°)
OKLaboklab(42.96% 0.1563 -0.0844)
OKLCHoklch(42.96% 0.178 331.6)
XYZxyz(12.9870, 6.6884, 19.0156)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82157A #15821D
analogous
#541582 #82157A #821543
triadic
#82157A #7A8215 #157A82
tetradic
#82157A #825415 #15821D #154382
square
#82157A #825415 #15821D #154382
split-complementary
#82157A #438215 #158254
monochromatic
#1A0419 #4D0C49 #82157A #B71EAB #DE33D2

Accessibility & contrast

On white

8.98
#82157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#82157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82157A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82157A#FFFFFF#000000##FFFFFF
##82157A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407D
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#882548
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #82157a;
/* rgb */ color: rgb(130, 21, 122);
/* oklch */ color: oklch(43.0% 0.178 331.6);
Tailwind
colors: {
  custom: {
    50: '#aa62a1',
    500: '#82157a',
    950: '#000000',
  },
}
SCSS
$custom: #82157a;
$custom-light: #aa62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#82157a",
  "rgb": {
    "r": 130,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 304.404,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42963,
    "c": 0.17761,
    "h": 331.6
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#82157A
secondary
#3CB745
accent
#EF4639
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #82157A

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

Preview Lab → · Contrast checker → · Palette generator →

#82157A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva