#822D8F#822D8F

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

Color values

HEX#822D8F
RGBrgb(130, 45, 143)
HSLhsl(292, 52%, 37%)
HSVhsv(292, 69%, 56%)
CMYKcmyk(9.1%, 68.5%, 0%, 43.9%)
CIE-LABlab(35.22, 50.05, -37.11)
CIE-LCHlch(35.22, 62.31, 323.45°)
OKLaboklab(46.32% 0.133 -0.1035)
OKLCHoklch(46.32% 0.169 322.1)
XYZxyz(15.1017, 8.6066, 26.8471)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D8F #3A8F2D
analogous
#512D8F #822D8F #8F2D6B
triadic
#822D8F #8F822D #2D8F82
tetradic
#822D8F #8F512D #3A8F2D #2D6B8F
square
#822D8F #8F512D #3A8F2D #2D6B8F
split-complementary
#822D8F #6B8F2D #2D8F51
monochromatic
#2D1032 #581E60 #822D8F #AC3CBE #C167CF

Accessibility & contrast

On white

7.72
#822D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822D8F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D8F#FFFFFF#000000##FFFFFF
##822D8F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#843E5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822d8f;
/* rgb */ color: rgb(130, 45, 143);
/* oklch */ color: oklch(46.3% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#a96db0',
    500: '#822d8f',
    950: '#000000',
  },
}
SCSS
$custom: #822d8f;
$custom-light: #a96db0;
$custom-dark: #000000;
JSON
{
  "hex": "#822d8f",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 292.041,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46318,
    "c": 0.16851,
    "h": 322.1
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#822D8F
secondary
#6DB662
accent
#DC4C5F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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