#822BA2#822BA2

#822BA2 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.189 H 315.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#822BA2
RGBrgb(130, 43, 162)
HSLhsl(284, 58%, 40%)
HSVhsv(284, 73%, 64%)
CMYKcmyk(19.8%, 73.5%, 0%, 36.5%)
CIE-LABlab(36.14, 54.68, -47.17)
CIE-LCHlch(36.14, 72.21, 319.21°)
OKLaboklab(47.37% 0.1339 -0.1329)
OKLCHoklch(47.37% 0.189 315.2)
XYZxyz(16.5903, 9.0828, 35.0547)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BA2 #4BA22B
analogous
#472BA2 #822BA2 #A22B86
triadic
#822BA2 #A2822B #2BA282
tetradic
#822BA2 #A2472B #4BA22B #2B86A2
square
#822BA2 #A2472B #4BA22B #2B86A2
split-complementary
#822BA2 #86A22B #2BA247
monochromatic
#341141 #5B1E72 #822BA2 #A63ECC #BC6FD9

Accessibility & contrast

On white

7.46
#822BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#822BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BA2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BA2#FFFFFF#000000##FFFFFF
##822BA21.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822ba2;
/* rgb */ color: rgb(130, 43, 162);
/* oklch */ color: oklch(47.4% 0.189 315.2);
Tailwind
colors: {
  custom: {
    50: '#aa6dbe',
    500: '#822ba2',
    950: '#000000',
  },
}
SCSS
$custom: #822ba2;
$custom-light: #aa6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#822ba2",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 283.866,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.18864,
    "h": 315.2
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#822BA2
secondary
#80C069
accent
#E14770
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #822BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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