#822FA0#822FA0

#822FA0 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.182 H 315.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#822FA0
RGBrgb(130, 47, 160)
HSLhsl(284, 55%, 41%)
HSVhsv(284, 71%, 63%)
CMYKcmyk(18.8%, 70.6%, 0%, 37.3%)
CIE-LABlab(36.59, 52.62, -45.25)
CIE-LCHlch(36.59, 69.40, 319.31°)
OKLaboklab(47.65% 0.1299 -0.1273)
OKLCHoklch(47.65% 0.182 315.6)
XYZxyz(16.5666, 9.3175, 34.1767)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FA0 #4DA02F
analogous
#4A2FA0 #822FA0 #A02F85
triadic
#822FA0 #A0822F #2FA082
tetradic
#822FA0 #A04A2F #4DA02F #2F85A0
square
#822FA0 #A04A2F #4DA02F #2F85A0
split-complementary
#822FA0 #85A02F #2FA04A
monochromatic
#351341 #5C2171 #822FA0 #A544C8 #BC73D6

Accessibility & contrast

On white

7.33
#822FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#822FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822FA0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FA0#FFFFFF#000000##FFFFFF
##822FA01.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#2D589D
Tritanopia (blue-blind)
#804664
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822fa0;
/* rgb */ color: rgb(130, 47, 160);
/* oklch */ color: oklch(47.6% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#aa6fbd',
    500: '#822fa0',
    950: '#000000',
  },
}
SCSS
$custom: #822fa0;
$custom-light: #aa6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#822fa0",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 284.071,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.18189,
    "h": 315.6
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#822FA0
secondary
#82BE6D
accent
#DE4A71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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