#82178F#82178F

#82178F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.192 H 323.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#82178F
RGBrgb(130, 23, 143)
HSLhsl(294, 72%, 33%)
HSVhsv(294, 84%, 56%)
CMYKcmyk(9.1%, 83.9%, 0%, 43.9%)
CIE-LABlab(32.57, 57.61, -41.33)
CIE-LCHlch(32.57, 70.90, 324.34°)
OKLaboklab(44.44% 0.1534 -0.1157)
OKLCHoklch(44.44% 0.192 323)
XYZxyz(14.4698, 7.3427, 26.6364)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82178F #248F17
analogous
#46178F #82178F #8F1760
triadic
#82178F #8F8217 #178F82
tetradic
#82178F #8F4617 #248F17 #17608F
square
#82178F #8F4617 #248F17 #17608F
split-complementary
#82178F #608F17 #178F46
monochromatic
#220626 #520F5A #82178F #B21FC4 #CF40E0

Accessibility & contrast

On white

8.51
#82178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#82178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82178F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82178F#FFFFFF#000000##FFFFFF
##82178F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2D518C
Tritanopia (blue-blind)
#843155
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #82178f;
/* rgb */ color: rgb(130, 23, 143);
/* oklch */ color: oklch(44.4% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#aa64b0',
    500: '#82178f',
    950: '#000000',
  },
}
SCSS
$custom: #82178f;
$custom-light: #aa64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#82178f",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 293.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44438,
    "c": 0.19217,
    "h": 323
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#82178F
secondary
#4FC141
accent
#EF394D
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #82178F

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

Preview Lab → · Contrast checker → · Palette generator →

#82178F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva