#822B99#822B99

#822B99 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.180 H 318.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#822B99
RGBrgb(130, 43, 153)
HSLhsl(287, 56%, 38%)
HSVhsv(287, 72%, 60%)
CMYKcmyk(15%, 71.9%, 0%, 40%)
CIE-LABlab(35.55, 52.85, -42.69)
CIE-LCHlch(35.55, 67.94, 321.07°)
OKLaboklab(46.76% 0.1347 -0.1198)
OKLCHoklch(46.76% 0.18 318.4)
XYZxyz(15.8188, 8.7742, 30.9912)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B99 #42992B
analogous
#4B2B99 #822B99 #992B79
triadic
#822B99 #99822B #2B9982
tetradic
#822B99 #994B2B #42992B #2B7999
square
#822B99 #994B2B #42992B #2B7999
split-complementary
#822B99 #79992B #2B994B
monochromatic
#311039 #591E69 #822B99 #AA3AC8 #BE69D5

Accessibility & contrast

On white

7.62
#822B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#822B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B99
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B99#FFFFFF#000000##FFFFFF
##822B991.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#82405F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #822b99;
/* rgb */ color: rgb(130, 43, 153);
/* oklch */ color: oklch(46.8% 0.180 318.4);
Tailwind
colors: {
  custom: {
    50: '#aa6db8',
    500: '#822b99',
    950: '#000000',
  },
}
SCSS
$custom: #822b99;
$custom-light: #aa6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#822b99",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 287.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46755,
    "c": 0.18028,
    "h": 318.4
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#822B99
secondary
#77BC64
accent
#DF4868
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822B99

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

Preview Lab → · Contrast checker → · Palette generator →

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