#822CA7#822CA7

#822CA7 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.192 H 313.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#822CA7
RGBrgb(130, 44, 167)
HSLhsl(282, 58%, 41%)
HSVhsv(282, 74%, 65%)
CMYKcmyk(22.2%, 73.7%, 0%, 34.5%)
CIE-LABlab(36.63, 55.32, -49.40)
CIE-LCHlch(36.63, 74.16, 318.24°)
OKLaboklab(47.82% 0.1322 -0.1395)
OKLCHoklch(47.82% 0.192 313.5)
XYZxyz(17.0804, 9.3378, 37.4543)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CA7 #51A72C
analogous
#452CA7 #822CA7 #A72C8F
triadic
#822CA7 #A7822C #2CA782
tetradic
#822CA7 #A7452C #51A72C #2C8FA7
square
#822CA7 #A7452C #51A72C #2C8FA7
split-complementary
#822CA7 #8FA72C #2CA745
monochromatic
#371246 #5C1F77 #822CA7 #A443CD #BB73DA

Accessibility & contrast

On white

7.32
#822CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#822CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CA7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CA7#FFFFFF#000000##FFFFFF
##822CA71.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#2158A4
Tritanopia (blue-blind)
#7E4767
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822ca7;
/* rgb */ color: rgb(130, 44, 167);
/* oklch */ color: oklch(47.8% 0.192 313.5);
Tailwind
colors: {
  custom: {
    50: '#aa6ec2',
    500: '#822ca7',
    950: '#000000',
  },
}
SCSS
$custom: #822ca7;
$custom-light: #aa6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#822ca7",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 281.951,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.19218,
    "h": 313.5
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#822CA7
secondary
#87C26D
accent
#E24675
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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