#822B8D#822B8D

#822B8D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.169 H 323.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#822B8D
RGBrgb(130, 43, 141)
HSLhsl(293, 53%, 36%)
HSVhsv(293, 70%, 55%)
CMYKcmyk(7.8%, 69.5%, 0%, 44.7%)
CIE-LABlab(34.80, 50.51, -36.55)
CIE-LCHlch(34.80, 62.34, 324.11°)
OKLaboklab(45.98% 0.1353 -0.1018)
OKLCHoklch(45.98% 0.169 323)
XYZxyz(14.8771, 8.3975, 26.0314)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B8D #368D2B
analogous
#512B8D #822B8D #8D2B67
triadic
#822B8D #8D822B #2B8D82
tetradic
#822B8D #8D512B #368D2B #2B678D
square
#822B8D #8D512B #368D2B #2B678D
split-complementary
#822B8D #678D2B #2B8D51
monochromatic
#2C0E2F #571D5E #822B8D #AD39BC #C363CF

Accessibility & contrast

On white

7.84
#822B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#822B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B8D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B8D#FFFFFF#000000##FFFFFF
##822B8D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#3A558B
Tritanopia (blue-blind)
#843B58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822b8d;
/* rgb */ color: rgb(130, 43, 141);
/* oklch */ color: oklch(46.0% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#a96caf',
    500: '#822b8d',
    950: '#000000',
  },
}
SCSS
$custom: #822b8d;
$custom-light: #a96caf;
$custom-dark: #000000;
JSON
{
  "hex": "#822b8d",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 293.265,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.16932,
    "h": 323
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#822B8D
secondary
#68B65E
accent
#DD4B5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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