#822EA5#822EA5

#822EA5 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.188 H 314.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#822EA5
RGBrgb(130, 46, 165)
HSLhsl(282, 56%, 41%)
HSVhsv(282, 72%, 65%)
CMYKcmyk(21.2%, 72.1%, 0%, 35.3%)
CIE-LABlab(36.78, 54.09, -47.96)
CIE-LCHlch(36.78, 72.29, 318.44°)
OKLaboklab(47.89% 0.1305 -0.1353)
OKLCHoklch(47.89% 0.188 314)
XYZxyz(16.9733, 9.4170, 36.5136)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EA5 #51A52E
analogous
#472EA5 #822EA5 #A52E8D
triadic
#822EA5 #A5822E #2EA582
tetradic
#822EA5 #A5472E #51A52E #2E8DA5
square
#822EA5 #A5472E #51A52E #2E8DA5
split-complementary
#822EA5 #8DA52E #2EA547
monochromatic
#371345 #5C2175 #822EA5 #A445CB #BB75D8

Accessibility & contrast

On white

7.28
#822EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822EA5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EA5#FFFFFF#000000##FFFFFF
##822EA51.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2658A2
Tritanopia (blue-blind)
#7F4767
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822ea5;
/* rgb */ color: rgb(130, 46, 165);
/* oklch */ color: oklch(47.9% 0.188 314.0);
Tailwind
colors: {
  custom: {
    50: '#aa6fc0',
    500: '#822ea5',
    950: '#000000',
  },
}
SCSS
$custom: #822ea5;
$custom-light: #aa6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#822ea5",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 282.353,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.18792,
    "h": 314
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#822EA5
secondary
#87C06F
accent
#E04875
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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