#822CAC#822CAC

#822CAC is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.197 H 311.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#822CAC
RGBrgb(130, 44, 172)
HSLhsl(280, 59%, 42%)
HSVhsv(280, 74%, 67%)
CMYKcmyk(24.4%, 74.4%, 0%, 32.5%)
CIE-LABlab(36.98, 56.37, -51.82)
CIE-LCHlch(36.98, 76.57, 317.41°)
OKLaboklab(48.18% 0.1315 -0.1466)
OKLCHoklch(48.18% 0.197 311.9)
XYZxyz(17.5516, 9.5262, 39.9359)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CAC #56AC2C
analogous
#422CAC #822CAC #AC2C96
triadic
#822CAC #AC822C #2CAC82
tetradic
#822CAC #AC422C #56AC2C #2C96AC
square
#822CAC #AC422C #56AC2C #2C96AC
split-complementary
#822CAC #96AC2C #2CAC42
monochromatic
#38134B #5D207B #822CAC #A246D0 #BB76DC

Accessibility & contrast

On white

7.23
#822CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#822CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CAC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CAC#FFFFFF#000000##FFFFFF
##822CAC1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#1959A9
Tritanopia (blue-blind)
#7D496A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822cac;
/* rgb */ color: rgb(130, 44, 172);
/* oklch */ color: oklch(48.2% 0.197 311.9);
Tailwind
colors: {
  custom: {
    50: '#ab6ec5',
    500: '#822cac',
    950: '#000000',
  },
}
SCSS
$custom: #822cac;
$custom-light: #ab6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#822cac",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 280.313,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48184,
    "c": 0.19691,
    "h": 311.9
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#822CAC
secondary
#8BC470
accent
#E24579
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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