#822B97#822B97

#822B97 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.178 H 319.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#822B97
RGBrgb(130, 43, 151)
HSLhsl(288, 56%, 38%)
HSVhsv(288, 72%, 59%)
CMYKcmyk(13.9%, 71.5%, 0%, 40.8%)
CIE-LABlab(35.42, 52.45, -41.68)
CIE-LCHlch(35.42, 66.99, 321.53°)
OKLaboklab(46.62% 0.1349 -0.1168)
OKLCHoklch(46.62% 0.178 319.1)
XYZxyz(15.6550, 8.7087, 30.1285)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B97 #40972B
analogous
#4C2B97 #822B97 #972B76
triadic
#822B97 #97822B #2B9782
tetradic
#822B97 #974C2B #40972B #2B7697
square
#822B97 #974C2B #40972B #2B7697
split-complementary
#822B97 #76972B #2B974C
monochromatic
#301038 #591D67 #822B97 #AB39C7 #BF68D4

Accessibility & contrast

On white

7.66
#822B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#822B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B97
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B97#FFFFFF#000000##FFFFFF
##822B971.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#82405E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822b97;
/* rgb */ color: rgb(130, 43, 151);
/* oklch */ color: oklch(46.6% 0.178 319.1);
Tailwind
colors: {
  custom: {
    50: '#aa6db6',
    500: '#822b97',
    950: '#000000',
  },
}
SCSS
$custom: #822b97;
$custom-light: #aa6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#822b97",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 288.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.17844,
    "h": 319.1
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#822B97
secondary
#74BB63
accent
#DF4966
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822B97

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

Preview Lab → · Contrast checker → · Palette generator →

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