#822A76#822A76

#822A76 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.151 H 333.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#822A76
RGBrgb(130, 42, 118)
HSLhsl(308, 51%, 34%)
HSVhsv(308, 68%, 51%)
CMYKcmyk(0%, 67.7%, 9.2%, 49%)
CIE-LABlab(33.37, 46.79, -24.48)
CIE-LCHlch(33.37, 52.81, 332.38°)
OKLaboklab(44.54% 0.1353 -0.0669)
OKLCHoklch(44.54% 0.151 333.7)
XYZxyz(13.3040, 7.7108, 17.9237)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822A76 #2A8236
analogous
#622A82 #822A76 #822A4A
triadic
#822A76 #76822A #2A7682
tetradic
#822A76 #82622A #2A8236 #2A4A82
square
#822A76 #82622A #2A8236 #2A4A82
split-complementary
#822A76 #4A822A #2A8262
monochromatic
#250C22 #541B4C #822A76 #B039A0 #CA5CBB

Accessibility & contrast

On white

8.26
#822A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#822A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822A76
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822A76#FFFFFF#000000##FFFFFF
##822A761.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#465374
Tritanopia (blue-blind)
#88314C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822a76;
/* rgb */ color: rgb(130, 42, 118);
/* oklch */ color: oklch(44.5% 0.151 333.7);
Tailwind
colors: {
  custom: {
    50: '#a96b9e',
    500: '#822a76',
    950: '#000000',
  },
}
SCSS
$custom: #822a76;
$custom-light: #a96b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#822a76",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 308.182,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.15091,
    "h": 333.7
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#822A76
secondary
#58B064
accent
#DB604D
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #822A76

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

Preview Lab → · Contrast checker → · Palette generator →

#822A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva