#822B8A#822B8A

#822B8A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 324.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#822B8A
RGBrgb(130, 43, 138)
HSLhsl(295, 52%, 35%)
HSVhsv(295, 69%, 54%)
CMYKcmyk(5.8%, 68.8%, 0%, 45.9%)
CIE-LABlab(34.62, 49.94, -34.98)
CIE-LCHlch(34.62, 60.97, 324.99°)
OKLaboklab(45.79% 0.1353 -0.0973)
OKLCHoklch(45.79% 0.167 324.3)
XYZxyz(14.6569, 8.3094, 24.8717)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B8A #338A2B
analogous
#522B8A #822B8A #8A2B63
triadic
#822B8A #8A822B #2B8A82
tetradic
#822B8A #8A522B #338A2B #2B638A
square
#822B8A #8A522B #338A2B #2B638A
split-complementary
#822B8A #638A2B #2B8A52
monochromatic
#2A0E2D #561C5B #822B8A #AE3AB9 #C561CE

Accessibility & contrast

On white

7.89
#822B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#822B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B8A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B8A#FFFFFF#000000##FFFFFF
##822B8A1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#3C5588
Tritanopia (blue-blind)
#853A57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822b8a;
/* rgb */ color: rgb(130, 43, 138);
/* oklch */ color: oklch(45.8% 0.167 324.3);
Tailwind
colors: {
  custom: {
    50: '#a96cac',
    500: '#822b8a',
    950: '#000000',
  },
}
SCSS
$custom: #822b8a;
$custom-light: #a96cac;
$custom-dark: #000000;
JSON
{
  "hex": "#822b8a",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 294.947,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45793,
    "c": 0.16663,
    "h": 324.3
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#822B8A
secondary
#64B45D
accent
#DC4C58
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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