#822A8A#822A8A

#822A8A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.168 H 324.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#822A8A
RGBrgb(130, 42, 138)
HSLhsl(295, 53%, 35%)
HSVhsv(295, 70%, 54%)
CMYKcmyk(5.8%, 69.6%, 0%, 45.9%)
CIE-LABlab(34.47, 50.35, -35.22)
CIE-LCHlch(34.47, 61.44, 325.03°)
OKLaboklab(45.69% 0.1364 -0.0979)
OKLCHoklch(45.69% 0.168 324.3)
XYZxyz(14.6209, 8.2376, 24.8597)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822A8A #328A2A
analogous
#522A8A #822A8A #8A2A62
triadic
#822A8A #8A822A #2A8A82
tetradic
#822A8A #8A522A #328A2A #2A628A
square
#822A8A #8A522A #328A2A #2A628A
split-complementary
#822A8A #628A2A #2A8A52
monochromatic
#2A0D2C #561C5B #822A8A #AE38B9 #C560CF

Accessibility & contrast

On white

7.93
#822A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#822A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822A8A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822A8A#FFFFFF#000000##FFFFFF
##822A8A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#853957
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822a8a;
/* rgb */ color: rgb(130, 42, 138);
/* oklch */ color: oklch(45.7% 0.168 324.3);
Tailwind
colors: {
  custom: {
    50: '#a96cac',
    500: '#822a8a',
    950: '#000000',
  },
}
SCSS
$custom: #822a8a;
$custom-light: #a96cac;
$custom-dark: #000000;
JSON
{
  "hex": "#822a8a",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 295,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.16794,
    "h": 324.3
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#822A8A
secondary
#63B45B
accent
#DD4B57
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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