#822EA3#822EA3

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

Color values

HEX#822EA3
RGBrgb(130, 46, 163)
HSLhsl(283, 56%, 41%)
HSVhsv(283, 72%, 64%)
CMYKcmyk(20.2%, 71.8%, 0%, 36.1%)
CIE-LABlab(36.64, 53.67, -46.98)
CIE-LCHlch(36.64, 71.32, 318.80°)
OKLaboklab(47.75% 0.1307 -0.1324)
OKLCHoklch(47.75% 0.186 314.6)
XYZxyz(16.7927, 9.3447, 35.5624)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EA3 #4FA32E
analogous
#472EA3 #822EA3 #A32E89
triadic
#822EA3 #A3822E #2EA382
tetradic
#822EA3 #A3472E #4FA32E #2E89A3
square
#822EA3 #A3472E #4FA32E #2E89A3
split-complementary
#822EA3 #89A32E #2EA347
monochromatic
#361344 #5C2173 #822EA3 #A444CA #BB74D8

Accessibility & contrast

On white

7.32
#822EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#822EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822EA3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EA3#FFFFFF#000000##FFFFFF
##822EA31.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#7F4665
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822ea3;
/* rgb */ color: rgb(130, 46, 163);
/* oklch */ color: oklch(47.7% 0.186 314.6);
Tailwind
colors: {
  custom: {
    50: '#aa6ebf',
    500: '#822ea3',
    950: '#000000',
  },
}
SCSS
$custom: #822ea3;
$custom-light: #aa6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#822ea3",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 283.077,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47746,
    "c": 0.186,
    "h": 314.6
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#822EA3
secondary
#85BF6D
accent
#DF4973
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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