#822AA2#822AA2

#822AA2 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.190 H 315.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#822AA2
RGBrgb(130, 42, 162)
HSLhsl(284, 59%, 40%)
HSVhsv(284, 74%, 64%)
CMYKcmyk(19.8%, 74.1%, 0%, 36.5%)
CIE-LABlab(36.01, 55.07, -47.39)
CIE-LCHlch(36.01, 72.66, 319.28°)
OKLaboklab(47.27% 0.1349 -0.1336)
OKLCHoklch(47.27% 0.19 315.3)
XYZxyz(16.5544, 9.0110, 35.0427)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AA2 #4AA22A
analogous
#462AA2 #822AA2 #A22A86
triadic
#822AA2 #A2822A #2AA282
tetradic
#822AA2 #A2462A #4AA22A #2A86A2
square
#822AA2 #A2462A #4AA22A #2A86A2
split-complementary
#822AA2 #86A22A #2AA246
monochromatic
#341141 #5B1D71 #822AA2 #A63DCD #BC6DD9

Accessibility & contrast

On white

7.49
#822AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#822AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AA2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AA2#FFFFFF#000000##FFFFFF
##822AA21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#26579F
Tritanopia (blue-blind)
#7F4464
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #822aa2;
/* rgb */ color: rgb(130, 42, 162);
/* oklch */ color: oklch(47.3% 0.190 315.3);
Tailwind
colors: {
  custom: {
    50: '#aa6dbe',
    500: '#822aa2',
    950: '#000000',
  },
}
SCSS
$custom: #822aa2;
$custom-light: #aa6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#822aa2",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 284,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.1898,
    "h": 315.3
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#822AA2
secondary
#7FC068
accent
#E2466F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #822AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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