#82218D#82218D

#82218D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.181 H 323.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#82218D
RGBrgb(130, 33, 141)
HSLhsl(294, 62%, 34%)
HSVhsv(294, 77%, 55%)
CMYKcmyk(7.8%, 76.6%, 0%, 44.7%)
CIE-LABlab(33.47, 54.27, -38.66)
CIE-LCHlch(33.47, 66.63, 324.53°)
OKLaboklab(45.03% 0.1455 -0.1079)
OKLCHoklch(45.03% 0.181 323.4)
XYZxyz(14.5571, 7.7575, 25.9247)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82218D #2C8D21
analogous
#4C218D #82218D #8D2162
triadic
#82218D #8D8221 #218D82
tetradic
#82218D #8D4C21 #2C8D21 #21628D
square
#82218D #8D4C21 #2C8D21 #21628D
split-complementary
#82218D #628D21 #218D4C
monochromatic
#270A2A #54155B #82218D #B02DBF #C952D6

Accessibility & contrast

On white

8.23
#82218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #82218D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82218D#FFFFFF#000000##FFFFFF
##82218D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#34528A
Tritanopia (blue-blind)
#843556
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82218d;
/* rgb */ color: rgb(130, 33, 141);
/* oklch */ color: oklch(45.0% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#aa68af',
    500: '#82218d',
    950: '#000000',
  },
}
SCSS
$custom: #82218d;
$custom-light: #aa68af;
$custom-dark: #000000;
JSON
{
  "hex": "#82218d",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 293.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45032,
    "c": 0.1812,
    "h": 323.4
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#82218D
secondary
#5BBA50
accent
#E54353
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82218D

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

Preview Lab → · Contrast checker → · Palette generator →

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