#82158D#82158D

#82158D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.192 H 323.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#82158D
RGBrgb(130, 21, 141)
HSLhsl(295, 74%, 32%)
HSVhsv(295, 85%, 55%)
CMYKcmyk(7.8%, 85.1%, 0%, 44.7%)
CIE-LABlab(32.27, 57.75, -40.59)
CIE-LCHlch(32.27, 70.58, 324.90°)
OKLaboklab(44.18% 0.155 -0.1135)
OKLCHoklch(44.18% 0.192 323.8)
XYZxyz(14.2814, 7.2062, 25.8329)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82158D #208D15
analogous
#46158D #82158D #8D155C
triadic
#82158D #8D8215 #158D82
tetradic
#82158D #8D4615 #208D15 #155C8D
square
#82158D #8D4615 #208D15 #155C8D
split-complementary
#82158D #5C8D15 #158D46
monochromatic
#200522 #510D58 #82158D #B31DC2 #D23BE2

Accessibility & contrast

On white

8.60
#82158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#82158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82158D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82158D#FFFFFF#000000##FFFFFF
##82158D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#2E508A
Tritanopia (blue-blind)
#842F53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #82158d;
/* rgb */ color: rgb(130, 21, 141);
/* oklch */ color: oklch(44.2% 0.192 323.8);
Tailwind
colors: {
  custom: {
    50: '#aa63af',
    500: '#82158d',
    950: '#000000',
  },
}
SCSS
$custom: #82158d;
$custom-light: #aa63af;
$custom-dark: #000000;
JSON
{
  "hex": "#82158d",
  "rgb": {
    "r": 130,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 294.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.19213,
    "h": 323.8
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#82158D
secondary
#49C13D
accent
#F13748
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #82158D

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

Preview Lab → · Contrast checker → · Palette generator →

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