#822FA3#822FA3

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

Color values

HEX#822FA3
RGBrgb(130, 47, 163)
HSLhsl(283, 55%, 41%)
HSVhsv(283, 71%, 64%)
CMYKcmyk(20.2%, 71.2%, 0%, 36.1%)
CIE-LABlab(36.79, 53.25, -46.74)
CIE-LCHlch(36.79, 70.85, 318.73°)
OKLaboklab(47.85% 0.1296 -0.1317)
OKLCHoklch(47.85% 0.185 314.5)
XYZxyz(16.8322, 9.4238, 35.5755)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FA3 #50A32F
analogous
#482FA3 #822FA3 #A32F8A
triadic
#822FA3 #A3822F #2FA382
tetradic
#822FA3 #A3482F #50A32F #2F8AA3
square
#822FA3 #A3482F #50A32F #2F8AA3
split-complementary
#822FA3 #8AA32F #2FA348
monochromatic
#361444 #5C2173 #822FA3 #A446CA #BB75D7

Accessibility & contrast

On white

7.28
#822FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822FA3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FA3#FFFFFF#000000##FFFFFF
##822FA31.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2A59A0
Tritanopia (blue-blind)
#7F4766
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822fa3;
/* rgb */ color: rgb(130, 47, 163);
/* oklch */ color: oklch(47.9% 0.185 314.5);
Tailwind
colors: {
  custom: {
    50: '#aa6fbf',
    500: '#822fa3',
    950: '#000000',
  },
}
SCSS
$custom: #822fa3;
$custom-light: #aa6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#822fa3",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 282.931,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.18477,
    "h": 314.5
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#822FA3
secondary
#86BF6F
accent
#DF4974
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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