#822D86#822D86

#822D86 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.160 H 325.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#822D86
RGBrgb(130, 45, 134)
HSLhsl(297, 50%, 35%)
HSVhsv(297, 66%, 53%)
CMYKcmyk(3%, 66.4%, 0%, 47.5%)
CIE-LABlab(34.69, 48.35, -32.40)
CIE-LCHlch(34.69, 58.20, 326.17°)
OKLaboklab(45.77% 0.1329 -0.0898)
OKLCHoklch(45.77% 0.16 325.9)
XYZxyz(14.4471, 8.3447, 23.3994)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D86 #31862D
analogous
#552D86 #822D86 #862D5E
triadic
#822D86 #86822D #2D8682
tetradic
#822D86 #86552D #31862D #2D5E86
square
#822D86 #86552D #31862D #2D5E86
split-complementary
#822D86 #5E862D #2D8655
monochromatic
#290E2A #561E58 #822D86 #AE3CB4 #C663CB

Accessibility & contrast

On white

7.87
#822D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#822D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D86
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D86#FFFFFF#000000##FFFFFF
##822D861.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#853A55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822d86;
/* rgb */ color: rgb(130, 45, 134);
/* oklch */ color: oklch(45.8% 0.160 325.9);
Tailwind
colors: {
  custom: {
    50: '#a96da9',
    500: '#822d86',
    950: '#000000',
  },
}
SCSS
$custom: #822d86;
$custom-light: #a96da9;
$custom-dark: #000000;
JSON
{
  "hex": "#822d86",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 297.303,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.16035,
    "h": 325.9
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#822D86
secondary
#62B15E
accent
#D94F55
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822D86

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

Preview Lab → · Contrast checker → · Palette generator →

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