#82187A#82187A

#82187A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.175 H 331.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#82187A
RGBrgb(130, 24, 122)
HSLhsl(305, 69%, 30%)
HSVhsv(305, 82%, 51%)
CMYKcmyk(0%, 81.5%, 6.2%, 49%)
CIE-LABlab(31.36, 53.78, -30.18)
CIE-LCHlch(31.36, 61.67, 330.70°)
OKLaboklab(43.16% 0.154 -0.0832)
OKLCHoklch(43.16% 0.175 331.6)
XYZxyz(13.0454, 6.8053, 19.0351)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82187A #188220
analogous
#551882 #82187A #821845
triadic
#82187A #7A8218 #187A82
tetradic
#82187A #825518 #188220 #184582
square
#82187A #825518 #188220 #184582
split-complementary
#82187A #458218 #188255
monochromatic
#1B0519 #4E0E4A #82187A #B622AA #DB3ACE

Accessibility & contrast

On white

8.90
#82187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#82187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82187A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82187A#FFFFFF#000000##FFFFFF
##82187A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407D
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#882649
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #82187a;
/* rgb */ color: rgb(130, 24, 122);
/* oklch */ color: oklch(43.2% 0.175 331.6);
Tailwind
colors: {
  custom: {
    50: '#aa63a1',
    500: '#82187a',
    950: '#000000',
  },
}
SCSS
$custom: #82187a;
$custom-light: #aa63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#82187a",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 304.528,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43157,
    "c": 0.17501,
    "h": 331.6
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#82187A
secondary
#40B649
accent
#EC493C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #82187A

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

Preview Lab → · Contrast checker → · Palette generator →

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