#822D99#822D99

#822D99 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.178 H 318.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#822D99
RGBrgb(130, 45, 153)
HSLhsl(287, 55%, 39%)
HSVhsv(287, 71%, 60%)
CMYKcmyk(15%, 70.6%, 0%, 40%)
CIE-LABlab(35.84, 52.03, -42.22)
CIE-LCHlch(35.84, 67.01, 320.94°)
OKLaboklab(46.96% 0.1326 -0.1184)
OKLCHoklch(46.96% 0.178 318.2)
XYZxyz(15.8933, 8.9232, 31.0160)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D99 #44992D
analogous
#4C2D99 #822D99 #992D7A
triadic
#822D99 #99822D #2D9982
tetradic
#822D99 #994C2D #44992D #2D7A99
square
#822D99 #994C2D #44992D #2D7A99
split-complementary
#822D99 #7A992D #2D994C
monochromatic
#32113A #5A1F6A #822D99 #A93DC6 #BE6CD4

Accessibility & contrast

On white

7.54
#822D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#822D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D99
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D99#FFFFFF#000000##FFFFFF
##822D991.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#814260
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #822d99;
/* rgb */ color: rgb(130, 45, 153);
/* oklch */ color: oklch(47.0% 0.178 318.2);
Tailwind
colors: {
  custom: {
    50: '#aa6eb8',
    500: '#822d99',
    950: '#000000',
  },
}
SCSS
$custom: #822d99;
$custom-light: #aa6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#822d99",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 287.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.17778,
    "h": 318.2
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#822D99
secondary
#79BB67
accent
#DE4A69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #822D99

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

Preview Lab → · Contrast checker → · Palette generator →

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