#822182#822182

#822182 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.172 H 328.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#822182
RGBrgb(130, 33, 130)
HSLhsl(300, 60%, 32%)
HSVhsv(300, 75%, 51%)
CMYKcmyk(0%, 74.6%, 0%, 49%)
CIE-LABlab(32.80, 52.31, -32.91)
CIE-LCHlch(32.80, 61.80, 327.82°)
OKLaboklab(44.34% 0.1459 -0.0912)
OKLCHoklch(44.34% 0.172 328)
XYZxyz(13.7789, 7.4462, 21.8263)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822182 #218221
analogous
#522182 #822182 #822152
triadic
#822182 #828221 #218282
tetradic
#822182 #825221 #218221 #215282
square
#822182 #825221 #218221 #215282
split-complementary
#822182 #528221 #218252
monochromatic
#200820 #511551 #822182 #B32DB3 #D24CD2

Accessibility & contrast

On white

8.44
#822182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#822182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822182
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822182#FFFFFF#000000##FFFFFF
##8221821.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4585
Deuteranopia (green-blind)
#3B5280
Tritanopia (blue-blind)
#863050
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #822182;
/* rgb */ color: rgb(130, 33, 130);
/* oklch */ color: oklch(44.3% 0.172 328.0);
Tailwind
colors: {
  custom: {
    50: '#aa67a7',
    500: '#822182',
    950: '#000000',
  },
}
SCSS
$custom: #822182;
$custom-light: #aa67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#822182",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 300,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44338,
    "c": 0.17208,
    "h": 328
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#822182
secondary
#4AB44A
accent
#E34545
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #822182

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

Preview Lab → · Contrast checker → · Palette generator →

#822182 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva