#822EAA#822EAA

#822EAA is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.193 H 312.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#822EAA
RGBrgb(130, 46, 170)
HSLhsl(281, 57%, 42%)
HSVhsv(281, 73%, 67%)
CMYKcmyk(23.5%, 72.9%, 0%, 33.3%)
CIE-LABlab(37.12, 55.14, -50.40)
CIE-LCHlch(37.12, 74.71, 317.57°)
OKLaboklab(48.24% 0.1298 -0.1424)
OKLCHoklch(48.24% 0.193 312.4)
XYZxyz(17.4373, 9.6026, 38.9573)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EAA #56AA2E
analogous
#442EAA #822EAA #AA2E94
triadic
#822EAA #AA822E #2EAA82
tetradic
#822EAA #AA442E #56AA2E #2E94AA
square
#822EAA #AA442E #56AA2E #2E94AA
split-complementary
#822EAA #94AA2E #2EAA44
monochromatic
#38144A #5D217A #822EAA #A248CD #BB78DA

Accessibility & contrast

On white

7.19
#822EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#822EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822EAA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EAA#FFFFFF#000000##FFFFFF
##822EAA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#1F59A7
Tritanopia (blue-blind)
#7D4969
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822eaa;
/* rgb */ color: rgb(130, 46, 170);
/* oklch */ color: oklch(48.2% 0.193 312.4);
Tailwind
colors: {
  custom: {
    50: '#aa6fc4',
    500: '#822eaa',
    950: '#000000',
  },
}
SCSS
$custom: #822eaa;
$custom-light: #aa6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#822eaa",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 280.645,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.19271,
    "h": 312.4
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#822EAA
secondary
#8BC371
accent
#E14779
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #822EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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