#822A97#822A97

#822A97 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.180 H 319.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#822A97
RGBrgb(130, 42, 151)
HSLhsl(288, 56%, 38%)
HSVhsv(288, 72%, 59%)
CMYKcmyk(13.9%, 72.2%, 0%, 40.8%)
CIE-LABlab(35.28, 52.85, -41.90)
CIE-LCHlch(35.28, 67.45, 321.59°)
OKLaboklab(46.52% 0.1359 -0.1175)
OKLCHoklch(46.52% 0.18 319.2)
XYZxyz(15.6191, 8.6369, 30.1165)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822A97 #3F972A
analogous
#4B2A97 #822A97 #972A76
triadic
#822A97 #97822A #2A9782
tetradic
#822A97 #974B2A #3F972A #2A7697
square
#822A97 #974B2A #3F972A #2A7697
split-complementary
#822A97 #76972A #2A974B
monochromatic
#300F37 #591D67 #822A97 #AB37C7 #BF67D5

Accessibility & contrast

On white

7.70
#822A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#822A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822A97
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822A97#FFFFFF#000000##FFFFFF
##822A971.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#823F5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822a97;
/* rgb */ color: rgb(130, 42, 151);
/* oklch */ color: oklch(46.5% 0.180 319.2);
Tailwind
colors: {
  custom: {
    50: '#aa6cb6',
    500: '#822a97',
    950: '#000000',
  },
}
SCSS
$custom: #822a97;
$custom-light: #aa6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#822a97",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 288.44,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46521,
    "c": 0.17967,
    "h": 319.2
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#822A97
secondary
#73BB62
accent
#E04865
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822A97

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

Preview Lab → · Contrast checker → · Palette generator →

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