#822CA9#822CA9

#822CA9 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.194 H 312.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#822CA9
RGBrgb(130, 44, 169)
HSLhsl(281, 59%, 42%)
HSVhsv(281, 74%, 66%)
CMYKcmyk(23.1%, 74%, 0%, 33.7%)
CIE-LABlab(36.77, 55.74, -50.37)
CIE-LCHlch(36.77, 75.13, 317.90°)
OKLaboklab(47.97% 0.1319 -0.1423)
OKLCHoklch(47.97% 0.194 312.8)
XYZxyz(17.2668, 9.4123, 38.4356)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CA9 #53A92C
analogous
#442CA9 #822CA9 #A92C92
triadic
#822CA9 #A9822C #2CA982
tetradic
#822CA9 #A9442C #53A92C #2C92A9
square
#822CA9 #A9442C #53A92C #2C92A9
split-complementary
#822CA9 #92A92C #2CA944
monochromatic
#371348 #5D1F78 #822CA9 #A344CE #BB74DB

Accessibility & contrast

On white

7.29
#822CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#822CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CA9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CA9#FFFFFF#000000##FFFFFF
##822CA91.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#1E58A6
Tritanopia (blue-blind)
#7E4868
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822ca9;
/* rgb */ color: rgb(130, 44, 169);
/* oklch */ color: oklch(48.0% 0.194 312.8);
Tailwind
colors: {
  custom: {
    50: '#aa6ec3',
    500: '#822ca9',
    950: '#000000',
  },
}
SCSS
$custom: #822ca9;
$custom-light: #aa6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#822ca9",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 281.28,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.19408,
    "h": 312.8
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#822CA9
secondary
#89C36E
accent
#E24677
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #822CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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