#822497#822497

#822497 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.187 H 319.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#822497
RGBrgb(130, 36, 151)
HSLhsl(289, 61%, 37%)
HSVhsv(289, 76%, 59%)
CMYKcmyk(13.9%, 76.2%, 0%, 40.8%)
CIE-LABlab(34.48, 55.11, -43.18)
CIE-LCHlch(34.48, 70.01, 321.92°)
OKLaboklab(45.96% 0.1419 -0.1212)
OKLCHoklch(45.96% 0.187 319.5)
XYZxyz(15.4220, 8.2427, 30.0508)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822497 #399724
analogous
#482497 #822497 #972473
triadic
#822497 #978224 #249782
tetradic
#822497 #974824 #399724 #247397
square
#822497 #974824 #399724 #247397
split-complementary
#822497 #739724 #249748
monochromatic
#2D0C34 #571866 #822497 #AD30C8 #C25DD8

Accessibility & contrast

On white

7.93
#822497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#822497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##822497#FFFFFF#000000##FFFFFF
##8224971.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)
#004B9A
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#823C5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822497;
/* rgb */ color: rgb(130, 36, 151);
/* oklch */ color: oklch(46.0% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#aa69b6',
    500: '#822497',
    950: '#000000',
  },
}
SCSS
$custom: #822497;
$custom-light: #aa69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#822497",
  "rgb": {
    "r": 130,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 289.043,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45957,
    "c": 0.18657,
    "h": 319.5
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#822497
secondary
#6CBD5A
accent
#E54361
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822497

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

Preview Lab → · Contrast checker → · Palette generator →

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