#822DA9#822DA9

#822DA9 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.193 H 312.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#822DA9
RGBrgb(130, 45, 169)
HSLhsl(281, 58%, 42%)
HSVhsv(281, 73%, 66%)
CMYKcmyk(23.1%, 73.4%, 0%, 33.7%)
CIE-LABlab(36.91, 55.34, -50.14)
CIE-LCHlch(36.91, 74.68, 317.82°)
OKLaboklab(48.07% 0.131 -0.1417)
OKLCHoklch(48.07% 0.193 312.8)
XYZxyz(17.3045, 9.4877, 38.4482)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DA9 #54A92D
analogous
#442DA9 #822DA9 #A92D92
triadic
#822DA9 #A9822D #2DA982
tetradic
#822DA9 #A9442D #54A92D #2D92A9
square
#822DA9 #A9442D #54A92D #2D92A9
split-complementary
#822DA9 #92A92D #2DA944
monochromatic
#381348 #5D2079 #822DA9 #A346CE #BB76DA

Accessibility & contrast

On white

7.25
#822DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#822DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822DA9
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DA9#FFFFFF#000000##FFFFFF
##822DA91.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#2059A6
Tritanopia (blue-blind)
#7E4868
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822da9;
/* rgb */ color: rgb(130, 45, 169);
/* oklch */ color: oklch(48.1% 0.193 312.8);
Tailwind
colors: {
  custom: {
    50: '#aa6ec3',
    500: '#822da9',
    950: '#000000',
  },
}
SCSS
$custom: #822da9;
$custom-light: #aa6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#822da9",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 281.129,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.19293,
    "h": 312.8
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#822DA9
secondary
#8AC26F
accent
#E14777
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #822DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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