#822D97#822D97

#822D97 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.176 H 319.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#822D97
RGBrgb(130, 45, 151)
HSLhsl(288, 54%, 38%)
HSVhsv(288, 70%, 59%)
CMYKcmyk(13.9%, 70.2%, 0%, 40.8%)
CIE-LABlab(35.71, 51.63, -41.21)
CIE-LCHlch(35.71, 66.06, 321.40°)
OKLaboklab(46.83% 0.1327 -0.1155)
OKLCHoklch(46.83% 0.176 319)
XYZxyz(15.7295, 8.8577, 30.1533)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D97 #42972D
analogous
#4D2D97 #822D97 #972D77
triadic
#822D97 #97822D #2D9782
tetradic
#822D97 #974D2D #42972D #2D7797
square
#822D97 #974D2D #42972D #2D7797
split-complementary
#822D97 #77972D #2D974D
monochromatic
#311139 #591F68 #822D97 #AA3CC5 #BE6BD3

Accessibility & contrast

On white

7.58
#822D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#822D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D97
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D97#FFFFFF#000000##FFFFFF
##822D971.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#82415F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #822d97;
/* rgb */ color: rgb(130, 45, 151);
/* oklch */ color: oklch(46.8% 0.176 319.0);
Tailwind
colors: {
  custom: {
    50: '#aa6eb6',
    500: '#822d97',
    950: '#000000',
  },
}
SCSS
$custom: #822d97;
$custom-light: #aa6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#822d97",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 288.113,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.17591,
    "h": 319
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#822D97
secondary
#77BA66
accent
#DD4A67
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #822D97

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

Preview Lab → · Contrast checker → · Palette generator →

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