#822E97#822E97

#822E97 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.175 H 318.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#822E97
RGBrgb(130, 46, 151)
HSLhsl(288, 53%, 39%)
HSVhsv(288, 70%, 59%)
CMYKcmyk(13.9%, 69.5%, 0%, 40.8%)
CIE-LABlab(35.86, 51.21, -40.97)
CIE-LCHlch(35.86, 65.58, 321.34°)
OKLaboklab(46.94% 0.1316 -0.1148)
OKLCHoklch(46.94% 0.175 318.9)
XYZxyz(15.7681, 8.9349, 30.1662)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822E97 #43972E
analogous
#4D2E97 #822E97 #972E77
triadic
#822E97 #97822E #2E9782
tetradic
#822E97 #974D2E #43972E #2E7797
square
#822E97 #974D2E #43972E #2E7797
split-complementary
#822E97 #77972E #2E974D
monochromatic
#311139 #5A2068 #822E97 #A93EC4 #BE6DD2

Accessibility & contrast

On white

7.54
#822E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#822E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822E97
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822E97#FFFFFF#000000##FFFFFF
##822E971.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#82415F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #822e97;
/* rgb */ color: rgb(130, 46, 151);
/* oklch */ color: oklch(46.9% 0.175 318.9);
Tailwind
colors: {
  custom: {
    50: '#aa6eb6',
    500: '#822e97',
    950: '#000000',
  },
}
SCSS
$custom: #822e97;
$custom-light: #aa6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#822e97",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 288,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.17462,
    "h": 318.9
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#822E97
secondary
#78BA67
accent
#DD4B68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #822E97

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

Preview Lab → · Contrast checker → · Palette generator →

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