#822FA2#822FA2

#822FA2 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.184 H 314.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#822FA2
RGBrgb(130, 47, 162)
HSLhsl(283, 55%, 41%)
HSVhsv(283, 71%, 64%)
CMYKcmyk(19.8%, 71%, 0%, 36.5%)
CIE-LABlab(36.72, 53.04, -46.24)
CIE-LCHlch(36.72, 70.37, 318.92°)
OKLaboklab(47.78% 0.1297 -0.1302)
OKLCHoklch(47.78% 0.184 314.9)
XYZxyz(16.7430, 9.3881, 35.1055)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FA2 #4FA22F
analogous
#482FA2 #822FA2 #A22F88
triadic
#822FA2 #A2822F #2FA282
tetradic
#822FA2 #A2482F #4FA22F #2F88A2
square
#822FA2 #A2482F #4FA22F #2F88A2
split-complementary
#822FA2 #88A22F #2FA248
monochromatic
#361343 #5C2173 #822FA2 #A445C9 #BB75D7

Accessibility & contrast

On white

7.30
#822FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822FA2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FA2#FFFFFF#000000##FFFFFF
##822FA21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#2B599F
Tritanopia (blue-blind)
#7F4765
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822fa2;
/* rgb */ color: rgb(130, 47, 162);
/* oklch */ color: oklch(47.8% 0.184 314.9);
Tailwind
colors: {
  custom: {
    50: '#aa6fbe',
    500: '#822fa2',
    950: '#000000',
  },
}
SCSS
$custom: #822fa2;
$custom-light: #aa6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#822fa2",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 283.304,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47783,
    "c": 0.18381,
    "h": 314.9
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#822FA2
secondary
#85BF6E
accent
#DE4973
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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