#822FA9#822FA9

#822FA9 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 312.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#822FA9
RGBrgb(130, 47, 169)
HSLhsl(281, 56%, 42%)
HSVhsv(281, 72%, 66%)
CMYKcmyk(23.1%, 72.2%, 0%, 33.7%)
CIE-LABlab(37.20, 54.52, -49.68)
CIE-LCHlch(37.20, 73.76, 317.66°)
OKLaboklab(48.27% 0.1289 -0.1403)
OKLCHoklch(48.27% 0.191 312.6)
XYZxyz(17.3826, 9.6439, 38.4742)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FA9 #56A92F
analogous
#452FA9 #822FA9 #A92F93
triadic
#822FA9 #A9822F #2FA982
tetradic
#822FA9 #A9452F #56A92F #2F93A9
square
#822FA9 #A9452F #56A92F #2F93A9
split-complementary
#822FA9 #93A92F #2FA945
monochromatic
#381449 #5D2279 #822FA9 #A249CC #BB79DA

Accessibility & contrast

On white

7.17
#822FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#822FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822FA9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FA9#FFFFFF#000000##FFFFFF
##822FA91.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#2259A6
Tritanopia (blue-blind)
#7E4969
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822fa9;
/* rgb */ color: rgb(130, 47, 169);
/* oklch */ color: oklch(48.3% 0.191 312.6);
Tailwind
colors: {
  custom: {
    50: '#aa6fc3',
    500: '#822fa9',
    950: '#000000',
  },
}
SCSS
$custom: #822fa9;
$custom-light: #aa6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#822fa9",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 280.82,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48272,
    "c": 0.19056,
    "h": 312.6
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#822FA9
secondary
#8BC272
accent
#E04879
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #822FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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