#822DA7#822DA7

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

Color values

HEX#822DA7
RGBrgb(130, 45, 167)
HSLhsl(282, 58%, 42%)
HSVhsv(282, 73%, 65%)
CMYKcmyk(22.2%, 73.1%, 0%, 34.5%)
CIE-LABlab(36.77, 54.92, -49.17)
CIE-LCHlch(36.77, 73.71, 318.16°)
OKLaboklab(47.92% 0.1312 -0.1388)
OKLCHoklch(47.92% 0.191 313.4)
XYZxyz(17.1181, 9.4132, 37.4669)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DA7 #52A72D
analogous
#452DA7 #822DA7 #A72D8F
triadic
#822DA7 #A7822D #2DA782
tetradic
#822DA7 #A7452D #52A72D #2D8FA7
square
#822DA7 #A7452D #52A72D #2D8FA7
split-complementary
#822DA7 #8FA72D #2DA745
monochromatic
#371347 #5C2077 #822DA7 #A344CD #BB75DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822DA7#FFFFFF#000000##FFFFFF
##822DA71.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)
#0052AA
Deuteranopia (green-blind)
#2358A4
Tritanopia (blue-blind)
#7E4867
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822da7;
/* rgb */ color: rgb(130, 45, 167);
/* oklch */ color: oklch(47.9% 0.191 313.4);
Tailwind
colors: {
  custom: {
    50: '#aa6ec2',
    500: '#822da7',
    950: '#000000',
  },
}
SCSS
$custom: #822da7;
$custom-light: #aa6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#822da7",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 281.803,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.19102,
    "h": 313.4
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#822DA7
secondary
#88C16E
accent
#E14776
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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