#822DAC#822DAC

#822DAC is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 311.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#822DAC
RGBrgb(130, 45, 172)
HSLhsl(280, 59%, 43%)
HSVhsv(280, 74%, 67%)
CMYKcmyk(24.4%, 73.8%, 0%, 32.5%)
CIE-LABlab(37.12, 55.98, -51.60)
CIE-LCHlch(37.12, 76.13, 317.33°)
OKLaboklab(48.28% 0.1305 -0.1459)
OKLCHoklch(48.28% 0.196 311.8)
XYZxyz(17.5893, 9.6016, 39.9485)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DAC #57AC2D
analogous
#422DAC #822DAC #AC2D97
triadic
#822DAC #AC822D #2DAC82
tetradic
#822DAC #AC422D #57AC2D #2D97AC
square
#822DAC #AC422D #57AC2D #2D97AC
split-complementary
#822DAC #97AC2D #2DAC42
monochromatic
#39144B #5D207B #822DAC #A247CF #BB78DC

Accessibility & contrast

On white

7.19
#822DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#822DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822DAC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DAC#FFFFFF#000000##FFFFFF
##822DAC1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#1A59A9
Tritanopia (blue-blind)
#7D4A6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822dac;
/* rgb */ color: rgb(130, 45, 172);
/* oklch */ color: oklch(48.3% 0.196 311.8);
Tailwind
colors: {
  custom: {
    50: '#ab6ec5',
    500: '#822dac',
    950: '#000000',
  },
}
SCSS
$custom: #822dac;
$custom-light: #ab6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#822dac",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 280.157,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.19578,
    "h": 311.8
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#822DAC
secondary
#8CC471
accent
#E2467A
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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