#822E8A#822E8A

#822E8A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.163 H 324.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#822E8A
RGBrgb(130, 46, 138)
HSLhsl(295, 50%, 36%)
HSVhsv(295, 67%, 54%)
CMYKcmyk(5.8%, 66.7%, 0%, 45.9%)
CIE-LABlab(35.07, 48.66, -34.26)
CIE-LCHlch(35.07, 59.51, 324.85°)
OKLaboklab(46.12% 0.1318 -0.0952)
OKLCHoklch(46.12% 0.163 324.2)
XYZxyz(14.7700, 8.5357, 24.9094)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822E8A #368A2E
analogous
#542E8A #822E8A #8A2E64
triadic
#822E8A #8A822E #2E8A82
tetradic
#822E8A #8A542E #368A2E #2E648A
square
#822E8A #8A542E #368A2E #2E648A
split-complementary
#822E8A #648A2E #2E8A54
monochromatic
#2C0F2E #571F5C #822E8A #AD3DB8 #C366CC

Accessibility & contrast

On white

7.76
#822E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#822E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822E8A
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822E8A#FFFFFF#000000##FFFFFF
##822E8A1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#853C58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822e8a;
/* rgb */ color: rgb(130, 46, 138);
/* oklch */ color: oklch(46.1% 0.163 324.2);
Tailwind
colors: {
  custom: {
    50: '#a96eac',
    500: '#822e8a',
    950: '#000000',
  },
}
SCSS
$custom: #822e8a;
$custom-light: #a96eac;
$custom-dark: #000000;
JSON
{
  "hex": "#822e8a",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 294.783,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46121,
    "c": 0.16257,
    "h": 324.2
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#822E8A
secondary
#68B361
accent
#DA4E5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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