#822C8B#822C8B

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

Color values

HEX#822C8B
RGBrgb(130, 44, 139)
HSLhsl(294, 52%, 36%)
HSVhsv(294, 68%, 55%)
CMYKcmyk(6.5%, 68.3%, 0%, 45.5%)
CIE-LABlab(34.83, 49.71, -35.27)
CIE-LCHlch(34.83, 60.95, 324.64°)
OKLaboklab(45.96% 0.1341 -0.0981)
OKLCHoklch(45.96% 0.166 323.8)
XYZxyz(14.7664, 8.4121, 25.2670)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822C8B #358B2C
analogous
#522C8B #822C8B #8B2C64
triadic
#822C8B #8B822C #2C8B82
tetradic
#822C8B #8B522C #358B2C #2C648B
square
#822C8B #8B522C #358B2C #2C648B
split-complementary
#822C8B #648B2C #2C8B52
monochromatic
#2B0F2E #571D5D #822C8B #AD3BB9 #C464CE

Accessibility & contrast

On white

7.83
#822C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822C8B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822C8B#FFFFFF#000000##FFFFFF
##822C8B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#3C5589
Tritanopia (blue-blind)
#843B58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822c8b;
/* rgb */ color: rgb(130, 44, 139);
/* oklch */ color: oklch(46.0% 0.166 323.8);
Tailwind
colors: {
  custom: {
    50: '#a96dad',
    500: '#822c8b',
    950: '#000000',
  },
}
SCSS
$custom: #822c8b;
$custom-light: #a96dad;
$custom-dark: #000000;
JSON
{
  "hex": "#822c8b",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 294.316,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45962,
    "c": 0.1662,
    "h": 323.8
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#822C8B
secondary
#67B45F
accent
#DB4C5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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