#822EA4#822EA4

#822EA4 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.187 H 314.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#822EA4
RGBrgb(130, 46, 164)
HSLhsl(283, 56%, 41%)
HSVhsv(283, 72%, 64%)
CMYKcmyk(20.7%, 72%, 0%, 35.7%)
CIE-LABlab(36.71, 53.88, -47.47)
CIE-LCHlch(36.71, 71.80, 318.62°)
OKLaboklab(47.82% 0.1306 -0.1338)
OKLCHoklch(47.82% 0.187 314.3)
XYZxyz(16.8826, 9.3807, 36.0361)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EA4 #50A42E
analogous
#472EA4 #822EA4 #A42E8B
triadic
#822EA4 #A4822E #2EA482
tetradic
#822EA4 #A4472E #50A42E #2E8BA4
square
#822EA4 #A4472E #50A42E #2E8BA4
split-complementary
#822EA4 #8BA42E #2EA447
monochromatic
#361344 #5C2174 #822EA4 #A445CB #BB74D8

Accessibility & contrast

On white

7.30
#822EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822EA4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EA4#FFFFFF#000000##FFFFFF
##822EA41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#2858A1
Tritanopia (blue-blind)
#7F4766
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822ea4;
/* rgb */ color: rgb(130, 46, 164);
/* oklch */ color: oklch(47.8% 0.187 314.3);
Tailwind
colors: {
  custom: {
    50: '#aa6fc0',
    500: '#822ea4',
    950: '#000000',
  },
}
SCSS
$custom: #822ea4;
$custom-light: #aa6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#822ea4",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 282.712,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47816,
    "c": 0.18696,
    "h": 314.3
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#822EA4
secondary
#86C06E
accent
#DF4874
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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