#822176#822176

#822176 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.163 H 333.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#822176
RGBrgb(130, 33, 118)
HSLhsl(307, 60%, 32%)
HSVhsv(307, 75%, 51%)
CMYKcmyk(0%, 74.6%, 9.2%, 49%)
CIE-LABlab(32.13, 50.29, -26.44)
CIE-LCHlch(32.13, 56.82, 332.27°)
OKLaboklab(43.64% 0.1455 -0.0724)
OKLCHoklch(43.64% 0.163 333.5)
XYZxyz(13.0199, 7.1426, 17.8290)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822176 #21822D
analogous
#5E2182 #822176 #822145
triadic
#822176 #768221 #217682
tetradic
#822176 #825E21 #21822D #214582
square
#822176 #825E21 #21822D #214582
split-complementary
#822176 #458221 #21825E
monochromatic
#20081D #51154A #822176 #B32DA2 #D24CC1

Accessibility & contrast

On white

8.65
#822176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#822176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822176
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822176#FFFFFF#000000##FFFFFF
##8221761.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#425174
Tritanopia (blue-blind)
#882A49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #822176;
/* rgb */ color: rgb(130, 33, 118);
/* oklch */ color: oklch(43.6% 0.163 333.5);
Tailwind
colors: {
  custom: {
    50: '#aa679e',
    500: '#822176',
    950: '#000000',
  },
}
SCSS
$custom: #822176;
$custom-light: #aa679e;
$custom-dark: #000000;
JSON
{
  "hex": "#822176",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 307.423,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.16255,
    "h": 333.5
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#822176
secondary
#4AB457
accent
#E35945
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822176

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

Preview Lab → · Contrast checker → · Palette generator →

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