#822AAB#822AAB

#822AAB is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.198 H 312.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#822AAB
RGBrgb(130, 42, 171)
HSLhsl(281, 61%, 42%)
HSVhsv(281, 75%, 67%)
CMYKcmyk(24%, 75.4%, 0%, 32.9%)
CIE-LABlab(36.64, 56.94, -51.78)
CIE-LCHlch(36.64, 76.96, 317.72°)
OKLaboklab(47.92% 0.1335 -0.1464)
OKLCHoklch(47.92% 0.198 312.4)
XYZxyz(17.3832, 9.3425, 39.4078)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AAB #53AB2A
analogous
#422AAB #822AAB #AB2A94
triadic
#822AAB #AB822A #2AAB82
tetradic
#822AAB #AB422A #53AB2A #2A94AB
square
#822AAB #AB422A #53AB2A #2A94AB
split-complementary
#822AAB #94AB2A #2AAB42
monochromatic
#371249 #5D1E7A #822AAB #A342D1 #BB73DD

Accessibility & contrast

On white

7.32
#822AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#822AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AAB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AAB#FFFFFF#000000##FFFFFF
##822AAB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#1858A8
Tritanopia (blue-blind)
#7D4869
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822aab;
/* rgb */ color: rgb(130, 42, 171);
/* oklch */ color: oklch(47.9% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#ab6dc5',
    500: '#822aab',
    950: '#000000',
  },
}
SCSS
$custom: #822aab;
$custom-light: #ab6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#822aab",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 280.93,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.19819,
    "h": 312.4
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#822AAB
secondary
#89C46D
accent
#E44477
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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