#822EA2#822EA2

#822EA2 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.185 H 315.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#822EA2
RGBrgb(130, 46, 162)
HSLhsl(283, 56%, 41%)
HSVhsv(283, 72%, 64%)
CMYKcmyk(19.8%, 71.6%, 0%, 36.5%)
CIE-LABlab(36.57, 53.46, -46.48)
CIE-LCHlch(36.57, 70.84, 318.99°)
OKLaboklab(47.68% 0.1308 -0.1309)
OKLCHoklch(47.68% 0.185 315)
XYZxyz(16.7034, 9.3090, 35.0924)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EA2 #4EA22E
analogous
#482EA2 #822EA2 #A22E88
triadic
#822EA2 #A2822E #2EA282
tetradic
#822EA2 #A2482E #4EA22E #2E88A2
square
#822EA2 #A2482E #4EA22E #2E88A2
split-complementary
#822EA2 #88A22E #2EA248
monochromatic
#351343 #5C2072 #822EA2 #A543CA #BC73D7

Accessibility & contrast

On white

7.34
#822EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#822EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822EA2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EA2#FFFFFF#000000##FFFFFF
##822EA21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#2A589F
Tritanopia (blue-blind)
#7F4665
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822ea2;
/* rgb */ color: rgb(130, 46, 162);
/* oklch */ color: oklch(47.7% 0.185 315.0);
Tailwind
colors: {
  custom: {
    50: '#aa6ebe',
    500: '#822ea2',
    950: '#000000',
  },
}
SCSS
$custom: #822ea2;
$custom-light: #aa6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#822ea2",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 283.448,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47677,
    "c": 0.18504,
    "h": 315
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#822EA2
secondary
#84BF6D
accent
#DF4972
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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