#822196#822196

#822196 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.189 H 320.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#822196
RGBrgb(130, 33, 150)
HSLhsl(290, 64%, 36%)
HSVhsv(290, 78%, 59%)
CMYKcmyk(13.3%, 78%, 0%, 41.2%)
CIE-LABlab(34.06, 55.95, -43.25)
CIE-LCHlch(34.06, 70.72, 322.30°)
OKLaboklab(45.64% 0.1447 -0.1213)
OKLCHoklch(45.64% 0.189 320)
XYZxyz(15.2541, 8.0363, 29.5959)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822196 #359621
analogous
#482196 #822196 #96216F
triadic
#822196 #968221 #219682
tetradic
#822196 #964821 #359621 #216F96
square
#822196 #964821 #359621 #216F96
split-complementary
#822196 #6F9621 #219648
monochromatic
#2B0B32 #571664 #822196 #AD2CC8 #C457DA

Accessibility & contrast

On white

8.05
#822196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#822196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822196
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822196#FFFFFF#000000##FFFFFF
##8221961.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#2C5393
Tritanopia (blue-blind)
#823A5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #822196;
/* rgb */ color: rgb(130, 33, 150);
/* oklch */ color: oklch(45.6% 0.189 320.0);
Tailwind
colors: {
  custom: {
    50: '#aa68b5',
    500: '#822196',
    950: '#000000',
  },
}
SCSS
$custom: #822196;
$custom-light: #aa68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#822196",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 289.744,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45635,
    "c": 0.18886,
    "h": 320
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#822196
secondary
#67BE55
accent
#E7415D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822196

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

Preview Lab → · Contrast checker → · Palette generator →

#822196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva