#82218C#82218C

#82218C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.180 H 323.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#82218C
RGBrgb(130, 33, 140)
HSLhsl(294, 62%, 34%)
HSVhsv(294, 76%, 55%)
CMYKcmyk(7.1%, 76.4%, 0%, 45.1%)
CIE-LABlab(33.41, 54.09, -38.15)
CIE-LCHlch(33.41, 66.19, 324.81°)
OKLaboklab(44.97% 0.1456 -0.1064)
OKLCHoklch(44.97% 0.18 323.8)
XYZxyz(14.4830, 7.7279, 25.5346)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82218C #2B8C21
analogous
#4D218C #82218C #8C2161
triadic
#82218C #8C8221 #218C82
tetradic
#82218C #8C4D21 #2B8C21 #21618C
square
#82218C #8C4D21 #2B8C21 #21618C
split-complementary
#82218C #618C21 #218C4D
monochromatic
#260A29 #54155A #82218C #B02DBE #CA51D6

Accessibility & contrast

On white

8.25
#82218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#82218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82218C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82218C#FFFFFF#000000##FFFFFF
##82218C1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#355289
Tritanopia (blue-blind)
#843555
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82218c;
/* rgb */ color: rgb(130, 33, 140);
/* oklch */ color: oklch(45.0% 0.180 323.8);
Tailwind
colors: {
  custom: {
    50: '#aa68ae',
    500: '#82218c',
    950: '#000000',
  },
}
SCSS
$custom: #82218c;
$custom-light: #aa68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#82218c",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 294.393,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44967,
    "c": 0.18036,
    "h": 323.8
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#82218C
secondary
#59B94F
accent
#E54352
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82218C

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

Preview Lab → · Contrast checker → · Palette generator →

#82218C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva