#822397#822397

#822397 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.188 H 319.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#822397
RGBrgb(130, 35, 151)
HSLhsl(289, 62%, 36%)
HSVhsv(289, 77%, 59%)
CMYKcmyk(13.9%, 76.8%, 0%, 40.8%)
CIE-LABlab(34.36, 55.46, -43.37)
CIE-LCHlch(34.36, 70.41, 321.97°)
OKLaboklab(45.87% 0.1428 -0.1217)
OKLCHoklch(45.87% 0.188 319.6)
XYZxyz(15.3922, 8.1830, 30.0409)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822397 #389723
analogous
#482397 #822397 #972372
triadic
#822397 #978223 #239782
tetradic
#822397 #974823 #389723 #237297
square
#822397 #974823 #389723 #237297
split-complementary
#822397 #729723 #239748
monochromatic
#2C0C34 #571765 #822397 #AD2FC9 #C25BD9

Accessibility & contrast

On white

7.97
#822397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#822397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822397
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822397#FFFFFF#000000##FFFFFF
##8223971.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#823B5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822397;
/* rgb */ color: rgb(130, 35, 151);
/* oklch */ color: oklch(45.9% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#aa69b6',
    500: '#822397',
    950: '#000000',
  },
}
SCSS
$custom: #822397;
$custom-light: #aa69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#822397",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 289.138,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.18765,
    "h": 319.6
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#822397
secondary
#6BBE58
accent
#E54260
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822397

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

Preview Lab → · Contrast checker → · Palette generator →

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