#822197#822197

#822197 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.190 H 319.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#822197
RGBrgb(130, 33, 151)
HSLhsl(289, 64%, 36%)
HSVhsv(289, 78%, 59%)
CMYKcmyk(13.9%, 78.1%, 0%, 40.8%)
CIE-LABlab(34.13, 56.14, -43.75)
CIE-LCHlch(34.13, 71.17, 322.07°)
OKLaboklab(45.7% 0.1446 -0.1228)
OKLCHoklch(45.7% 0.19 319.7)
XYZxyz(15.3350, 8.0687, 30.0218)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822197 #369721
analogous
#472197 #822197 #972171
triadic
#822197 #978221 #219782
tetradic
#822197 #974721 #369721 #217197
square
#822197 #974721 #369721 #217197
split-complementary
#822197 #719721 #219747
monochromatic
#2C0B33 #571665 #822197 #AD2CC9 #C358DA

Accessibility & contrast

On white

8.03
#822197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822197
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822197#FFFFFF#000000##FFFFFF
##8221971.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822197;
/* rgb */ color: rgb(130, 33, 151);
/* oklch */ color: oklch(45.7% 0.190 319.7);
Tailwind
colors: {
  custom: {
    50: '#aa68b6',
    500: '#822197',
    950: '#000000',
  },
}
SCSS
$custom: #822197;
$custom-light: #aa68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#822197",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 289.322,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45704,
    "c": 0.18972,
    "h": 319.7
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#822197
secondary
#68BE55
accent
#E7415E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822197

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

Preview Lab → · Contrast checker → · Palette generator →

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