#822CB5#822CB5

#822CB5 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.205 H 309.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#822CB5
RGBrgb(130, 44, 181)
HSLhsl(278, 61%, 44%)
HSVhsv(278, 76%, 71%)
CMYKcmyk(28.2%, 75.7%, 0%, 29%)
CIE-LABlab(37.63, 58.30, -56.11)
CIE-LCHlch(37.63, 80.92, 316.10°)
OKLaboklab(48.85% 0.1299 -0.1592)
OKLCHoklch(48.85% 0.205 309.2)
XYZxyz(18.4454, 9.8837, 44.6432)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CB5 #5FB52C
analogous
#3D2CB5 #822CB5 #B52CA4
triadic
#822CB5 #B5822C #2CB582
tetradic
#822CB5 #B53D2C #5FB52C #2CA4B5
square
#822CB5 #B53D2C #5FB52C #2CA4B5
split-complementary
#822CB5 #A4B52C #2CB53D
monochromatic
#3B1453 #5F2084 #822CB5 #A14BD3 #BA7CDF

Accessibility & contrast

On white

7.06
#822CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#822CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CB5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CB5#FFFFFF#000000##FFFFFF
##822CB51.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#7A4D6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822cb5;
/* rgb */ color: rgb(130, 44, 181);
/* oklch */ color: oklch(48.9% 0.205 309.2);
Tailwind
colors: {
  custom: {
    50: '#ab6ecc',
    500: '#822cb5',
    950: '#000000',
  },
}
SCSS
$custom: #822cb5;
$custom-light: #ab6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#822cb5",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 277.664,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.20547,
    "h": 309.2
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#822CB5
secondary
#94C875
accent
#E4447F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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