#822D8E#822D8E

#822D8E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 322.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#822D8E
RGBrgb(130, 45, 142)
HSLhsl(293, 52%, 37%)
HSVhsv(293, 68%, 56%)
CMYKcmyk(8.5%, 68.3%, 0%, 44.3%)
CIE-LABlab(35.16, 49.86, -36.59)
CIE-LCHlch(35.16, 61.85, 323.73°)
OKLaboklab(46.26% 0.133 -0.102)
OKLCHoklch(46.26% 0.168 322.5)
XYZxyz(15.0263, 8.5764, 26.4499)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D8E #398E2D
analogous
#522D8E #822D8E #8E2D6A
triadic
#822D8E #8E822D #2D8E82
tetradic
#822D8E #8E522D #398E2D #2D6A8E
square
#822D8E #8E522D #398E2D #2D6A8E
split-complementary
#822D8E #6A8E2D #2D8E52
monochromatic
#2D1031 #571E60 #822D8E #AD3CBC #C267CF

Accessibility & contrast

On white

7.73
#822D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#822D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D8E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D8E#FFFFFF#000000##FFFFFF
##822D8E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#843D5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822d8e;
/* rgb */ color: rgb(130, 45, 142);
/* oklch */ color: oklch(46.3% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#a96daf',
    500: '#822d8e',
    950: '#000000',
  },
}
SCSS
$custom: #822d8e;
$custom-light: #a96daf;
$custom-dark: #000000;
JSON
{
  "hex": "#822d8e",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 292.577,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.16758,
    "h": 322.5
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#822D8E
secondary
#6CB561
accent
#DB4C5E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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