#822AAC#822AAC

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

Color values

HEX#822AAC
RGBrgb(130, 42, 172)
HSLhsl(281, 61%, 42%)
HSVhsv(281, 76%, 67%)
CMYKcmyk(24.4%, 75.6%, 0%, 32.5%)
CIE-LABlab(36.71, 57.15, -52.26)
CIE-LCHlch(36.71, 77.44, 317.56°)
OKLaboklab(47.99% 0.1334 -0.1479)
OKLCHoklch(47.99% 0.199 312.1)
XYZxyz(17.4789, 9.3808, 39.9117)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AAC #54AC2A
analogous
#412AAC #822AAC #AC2A95
triadic
#822AAC #AC822A #2AAC82
tetradic
#822AAC #AC412A #54AC2A #2A95AC
square
#822AAC #AC412A #54AC2A #2A95AC
split-complementary
#822AAC #95AC2A #2AAC41
monochromatic
#38124A #5D1E7B #822AAC #A342D1 #BB73DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822AAC#FFFFFF#000000##FFFFFF
##822AAC1.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)
#0052B0
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#7D4869
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822aac;
/* rgb */ color: rgb(130, 42, 172);
/* oklch */ color: oklch(48.0% 0.199 312.1);
Tailwind
colors: {
  custom: {
    50: '#ab6dc5',
    500: '#822aac',
    950: '#000000',
  },
}
SCSS
$custom: #822aac;
$custom-light: #ab6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#822aac",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 280.615,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47993,
    "c": 0.19912,
    "h": 312.1
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#822AAC
secondary
#8AC46D
accent
#E44478
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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