#822B84#822B84

#822B84 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.161 H 326.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#822B84
RGBrgb(130, 43, 132)
HSLhsl(299, 51%, 34%)
HSVhsv(299, 67%, 52%)
CMYKcmyk(1.5%, 67.4%, 0%, 48.2%)
CIE-LABlab(34.27, 48.83, -31.82)
CIE-LCHlch(34.27, 58.28, 326.91°)
OKLaboklab(45.43% 0.1352 -0.0881)
OKLCHoklch(45.43% 0.161 326.9)
XYZxyz(14.2344, 8.1405, 22.6468)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B84 #2D842B
analogous
#562B84 #822B84 #842B5A
triadic
#822B84 #84822B #2B8482
tetradic
#822B84 #84562B #2D842B #2B5A84
square
#822B84 #84562B #2D842B #2B5A84
split-complementary
#822B84 #5A842B #2B8456
monochromatic
#270D28 #551C56 #822B84 #AF3AB2 #C85FCB

Accessibility & contrast

On white

7.99
#822B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#822B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B84
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B84#FFFFFF#000000##FFFFFF
##822B841.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4987
Deuteranopia (green-blind)
#3F5482
Tritanopia (blue-blind)
#863854
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822b84;
/* rgb */ color: rgb(130, 43, 132);
/* oklch */ color: oklch(45.4% 0.161 326.9);
Tailwind
colors: {
  custom: {
    50: '#a96ca8',
    500: '#822b84',
    950: '#000000',
  },
}
SCSS
$custom: #822b84;
$custom-light: #a96ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#822b84",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 298.652,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.16133,
    "h": 326.9
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#822B84
secondary
#5CB15A
accent
#DA4D51
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #822B84

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

Preview Lab → · Contrast checker → · Palette generator →

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