#822B9D#822B9D

#822B9D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.184 H 316.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#822B9D
RGBrgb(130, 43, 157)
HSLhsl(286, 57%, 39%)
HSVhsv(286, 73%, 62%)
CMYKcmyk(17.2%, 72.6%, 0%, 38.4%)
CIE-LABlab(35.81, 53.66, -44.69)
CIE-LCHlch(35.81, 69.83, 320.21°)
OKLaboklab(47.03% 0.1344 -0.1257)
OKLCHoklch(47.03% 0.184 316.9)
XYZxyz(16.1547, 8.9086, 32.7603)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B9D #469D2B
analogous
#492B9D #822B9D #9D2B7F
triadic
#822B9D #9D822B #2B9D82
tetradic
#822B9D #9D492B #469D2B #2B7F9D
square
#822B9D #9D492B #469D2B #2B7F9D
split-complementary
#822B9D #7F9D2B #2B9D49
monochromatic
#32113D #5A1E6D #822B9D #A83CCA #BD6CD7

Accessibility & contrast

On white

7.55
#822B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#822B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B9D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B9D#FFFFFF#000000##FFFFFF
##822B9D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#2D579A
Tritanopia (blue-blind)
#814261
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #822b9d;
/* rgb */ color: rgb(130, 43, 157);
/* oklch */ color: oklch(47.0% 0.184 316.9);
Tailwind
colors: {
  custom: {
    50: '#aa6dba',
    500: '#822b9d',
    950: '#000000',
  },
}
SCSS
$custom: #822b9d;
$custom-light: #aa6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#822b9d",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 285.789,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47026,
    "c": 0.18399,
    "h": 316.9
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#822B9D
secondary
#7BBD66
accent
#E0486C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #822B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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