#82218F#82218F

#82218F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.183 H 322.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#82218F
RGBrgb(130, 33, 143)
HSLhsl(293, 63%, 35%)
HSVhsv(293, 77%, 56%)
CMYKcmyk(9.1%, 76.9%, 0%, 43.9%)
CIE-LABlab(33.60, 54.64, -39.69)
CIE-LCHlch(33.60, 67.53, 324.00°)
OKLaboklab(45.16% 0.1454 -0.1109)
OKLCHoklch(45.16% 0.183 322.7)
XYZxyz(14.7072, 7.8176, 26.7156)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82218F #2E8F21
analogous
#4B218F #82218F #8F2165
triadic
#82218F #8F8221 #218F82
tetradic
#82218F #8F4B21 #2E8F21 #21658F
square
#82218F #8F4B21 #2E8F21 #21658F
split-complementary
#82218F #658F21 #218F4B
monochromatic
#280A2C #55165D #82218F #AF2CC1 #C853D7

Accessibility & contrast

On white

8.19
#82218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #82218F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82218F#FFFFFF#000000##FFFFFF
##82218F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#32538C
Tritanopia (blue-blind)
#843657
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82218f;
/* rgb */ color: rgb(130, 33, 143);
/* oklch */ color: oklch(45.2% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#aa68b0',
    500: '#82218f',
    950: '#000000',
  },
}
SCSS
$custom: #82218f;
$custom-light: #aa68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#82218f",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 292.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.18289,
    "h": 322.7
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#82218F
secondary
#5DBB51
accent
#E64256
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82218F

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

Preview Lab → · Contrast checker → · Palette generator →

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