#822BAA#822BAA

#822BAA is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.196 H 312.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#822BAA
RGBrgb(130, 43, 170)
HSLhsl(281, 60%, 42%)
HSVhsv(281, 75%, 67%)
CMYKcmyk(23.5%, 74.7%, 0%, 33.3%)
CIE-LABlab(36.70, 56.34, -51.08)
CIE-LCHlch(36.70, 76.05, 317.81°)
OKLaboklab(47.94% 0.1328 -0.1444)
OKLCHoklch(47.94% 0.196 312.6)
XYZxyz(17.3242, 9.3764, 38.9196)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BAA #53AA2B
analogous
#422BAA #822BAA #AA2B93
triadic
#822BAA #AA822B #2BAA82
tetradic
#822BAA #AA422B #53AA2B #2B93AA
square
#822BAA #AA422B #53AA2B #2B93AA
split-complementary
#822BAA #93AA2B #2BAA42
monochromatic
#371248 #5D1F79 #822BAA #A343CF #BB74DC

Accessibility & contrast

On white

7.30
#822BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#822BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BAA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BAA#FFFFFF#000000##FFFFFF
##822BAA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#1B58A7
Tritanopia (blue-blind)
#7D4869
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822baa;
/* rgb */ color: rgb(130, 43, 170);
/* oklch */ color: oklch(47.9% 0.196 312.6);
Tailwind
colors: {
  custom: {
    50: '#ab6dc4',
    500: '#822baa',
    950: '#000000',
  },
}
SCSS
$custom: #822baa;
$custom-light: #ab6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#822baa",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 281.102,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47942,
    "c": 0.19614,
    "h": 312.6
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#822BAA
secondary
#89C36E
accent
#E34577
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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