#822C8D#822C8D

#822C8D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.168 H 323.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#822C8D
RGBrgb(130, 44, 141)
HSLhsl(293, 52%, 36%)
HSVhsv(293, 69%, 55%)
CMYKcmyk(7.8%, 68.8%, 0%, 44.7%)
CIE-LABlab(34.95, 50.09, -36.31)
CIE-LCHlch(34.95, 61.87, 324.06°)
OKLaboklab(46.09% 0.1341 -0.1012)
OKLCHoklch(46.09% 0.168 323)
XYZxyz(14.9139, 8.4711, 26.0437)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822C8D #378D2C
analogous
#522C8D #822C8D #8D2C68
triadic
#822C8D #8D822C #2C8D82
tetradic
#822C8D #8D522C #378D2C #2C688D
square
#822C8D #8D522C #378D2C #2C688D
split-complementary
#822C8D #688D2C #2C8D52
monochromatic
#2C0F30 #571D5E #822C8D #AD3BBC #C365CF

Accessibility & contrast

On white

7.80
#822C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#822C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822C8D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822C8D#FFFFFF#000000##FFFFFF
##822C8D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#3A568B
Tritanopia (blue-blind)
#843C59
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822c8d;
/* rgb */ color: rgb(130, 44, 141);
/* oklch */ color: oklch(46.1% 0.168 323.0);
Tailwind
colors: {
  custom: {
    50: '#a96daf',
    500: '#822c8d',
    950: '#000000',
  },
}
SCSS
$custom: #822c8d;
$custom-light: #a96daf;
$custom-dark: #000000;
JSON
{
  "hex": "#822c8d",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 293.196,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46085,
    "c": 0.16801,
    "h": 323
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#822C8D
secondary
#69B560
accent
#DC4C5C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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