#822AA3#822AA3

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

Color values

HEX#822AA3
RGBrgb(130, 42, 163)
HSLhsl(284, 59%, 40%)
HSVhsv(284, 74%, 64%)
CMYKcmyk(20.2%, 74.2%, 0%, 36.1%)
CIE-LABlab(36.07, 55.27, -47.89)
CIE-LCHlch(36.07, 73.13, 319.10°)
OKLaboklab(47.34% 0.1347 -0.135)
OKLCHoklch(47.34% 0.191 314.9)
XYZxyz(16.6437, 9.0467, 35.5127)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AA3 #4BA32A
analogous
#452AA3 #822AA3 #A32A88
triadic
#822AA3 #A3822A #2AA382
tetradic
#822AA3 #A3452A #4BA32A #2A88A3
square
#822AA3 #A3452A #4BA32A #2A88A3
split-complementary
#822AA3 #88A32A #2AA345
monochromatic
#341142 #5B1D72 #822AA3 #A63DCD #BC6EDA

Accessibility & contrast

On white

7.48
#822AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#822AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AA3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AA3#FFFFFF#000000##FFFFFF
##822AA31.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2557A0
Tritanopia (blue-blind)
#7F4464
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #822aa3;
/* rgb */ color: rgb(130, 42, 163);
/* oklch */ color: oklch(47.3% 0.191 314.9);
Tailwind
colors: {
  custom: {
    50: '#aa6dbf',
    500: '#822aa3',
    950: '#000000',
  },
}
SCSS
$custom: #822aa3;
$custom-light: #aa6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#822aa3",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 283.636,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.19074,
    "h": 314.9
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#822AA3
secondary
#80C068
accent
#E24670
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #822AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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