#82218E#82218E

#82218E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.182 H 323.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#82218E
RGBrgb(130, 33, 142)
HSLhsl(293, 62%, 34%)
HSVhsv(293, 77%, 56%)
CMYKcmyk(8.5%, 76.8%, 0%, 44.3%)
CIE-LABlab(33.54, 54.45, -39.18)
CIE-LCHlch(33.54, 67.08, 324.27°)
OKLaboklab(45.1% 0.1455 -0.1094)
OKLCHoklch(45.1% 0.182 323)
XYZxyz(14.6318, 7.7874, 26.3184)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82218E #2D8E21
analogous
#4B218E #82218E #8E2164
triadic
#82218E #8E8221 #218E82
tetradic
#82218E #8E4B21 #2D8E21 #21648E
square
#82218E #8E4B21 #2D8E21 #21648E
split-complementary
#82218E #648E21 #218E4B
monochromatic
#270A2B #55155C #82218E #AF2DC0 #C852D7

Accessibility & contrast

On white

8.21
#82218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#82218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82218E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82218E#FFFFFF#000000##FFFFFF
##82218E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#33538B
Tritanopia (blue-blind)
#843656
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82218e;
/* rgb */ color: rgb(130, 33, 142);
/* oklch */ color: oklch(45.1% 0.182 323.0);
Tailwind
colors: {
  custom: {
    50: '#aa68b0',
    500: '#82218e',
    950: '#000000',
  },
}
SCSS
$custom: #82218e;
$custom-light: #aa68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#82218e",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 293.394,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.18204,
    "h": 323
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#82218E
secondary
#5CBA50
accent
#E54254
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82218E

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

Preview Lab → · Contrast checker → · Palette generator →

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