#822AC5#822AC5

#822AC5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.9% C 0.223 H 305.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#822AC5
RGBrgb(130, 42, 197)
HSLhsl(274, 65%, 47%)
HSVhsv(274, 79%, 77%)
CMYKcmyk(34%, 78.7%, 0%, 22.7%)
CIE-LABlab(38.61, 62.55, -63.93)
CIE-LCHlch(38.61, 89.44, 314.38°)
OKLaboklab(49.92% 0.128 -0.1821)
OKLCHoklch(49.92% 0.223 305.1)
XYZxyz(20.1096, 10.4331, 53.7669)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AC5 #6DC52A
analogous
#352AC5 #822AC5 #C52ABB
triadic
#822AC5 #C5822A #2AC582
tetradic
#822AC5 #C5352A #6DC52A #2ABBC5
square
#822AC5 #C5352A #6DC52A #2ABBC5
split-complementary
#822AC5 #BBC52A #2AC535
monochromatic
#3F1460 #611F93 #822AC5 #9F52DA #BB85E5

Accessibility & contrast

On white

6.80
#822AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#822AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822AC5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AC5#FFFFFF#000000##FFFFFF
##822AC51.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#755378
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #822ac5;
/* rgb */ color: rgb(130, 42, 197);
/* oklch */ color: oklch(49.9% 0.223 305.1);
Tailwind
colors: {
  custom: {
    50: '#ac6ed8',
    500: '#822ac5',
    950: '#000000',
  },
}
SCSS
$custom: #822ac5;
$custom-light: #ac6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#822ac5",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 274.065,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.22262,
    "h": 305.1
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#822AC5
secondary
#A0CE7D
accent
#E84089
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #822AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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