#822B96#822B96

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

Color values

HEX#822B96
RGBrgb(130, 43, 150)
HSLhsl(289, 55%, 38%)
HSVhsv(289, 71%, 59%)
CMYKcmyk(13.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(35.35, 52.25, -41.17)
CIE-LCHlch(35.35, 66.52, 321.77°)
OKLaboklab(46.56% 0.1349 -0.1153)
OKLCHoklch(46.56% 0.178 319.5)
XYZxyz(15.5741, 8.6763, 29.7026)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B96 #3F962B
analogous
#4C2B96 #822B96 #962B74
triadic
#822B96 #96822B #2B9682
tetradic
#822B96 #964C2B #3F962B #2B7496
square
#822B96 #964C2B #3F962B #2B7496
split-complementary
#822B96 #74962B #2B964C
monochromatic
#301037 #591D66 #822B96 #AB39C6 #BF68D4

Accessibility & contrast

On white

7.68
#822B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822B96
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B96#FFFFFF#000000##FFFFFF
##822B961.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#335693
Tritanopia (blue-blind)
#823F5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822b96;
/* rgb */ color: rgb(130, 43, 150);
/* oklch */ color: oklch(46.6% 0.178 319.5);
Tailwind
colors: {
  custom: {
    50: '#aa6cb5',
    500: '#822b96',
    950: '#000000',
  },
}
SCSS
$custom: #822b96;
$custom-light: #aa6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#822b96",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 288.785,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.17752,
    "h": 319.5
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#822B96
secondary
#73BA63
accent
#DF4965
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822B96

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

Preview Lab → · Contrast checker → · Palette generator →

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