#822096#822096

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

Color values

HEX#822096
RGBrgb(130, 32, 150)
HSLhsl(290, 65%, 36%)
HSVhsv(290, 79%, 59%)
CMYKcmyk(13.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(33.94, 56.28, -43.43)
CIE-LCHlch(33.94, 71.09, 322.34°)
OKLaboklab(45.55% 0.1456 -0.1219)
OKLCHoklch(45.55% 0.19 320.1)
XYZxyz(15.2268, 7.9817, 29.5868)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822096 #349620
analogous
#472096 #822096 #96206F
triadic
#822096 #968220 #209682
tetradic
#822096 #964720 #349620 #206F96
square
#822096 #964720 #349620 #206F96
split-complementary
#822096 #6F9620 #209647
monochromatic
#2B0A31 #561564 #822096 #AE2BC8 #C456DB

Accessibility & contrast

On white

8.09
#822096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#822096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822096
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822096#FFFFFF#000000##FFFFFF
##8220961.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#2C5393
Tritanopia (blue-blind)
#82395B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #822096;
/* rgb */ color: rgb(130, 32, 150);
/* oklch */ color: oklch(45.6% 0.190 320.1);
Tailwind
colors: {
  custom: {
    50: '#aa68b5',
    500: '#822096',
    950: '#000000',
  },
}
SCSS
$custom: #822096;
$custom-light: #aa68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#822096",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 289.831,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45554,
    "c": 0.18986,
    "h": 320.1
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#822096
secondary
#65BE53
accent
#E8405C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822096

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

Preview Lab → · Contrast checker → · Palette generator →

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