#822CB6#822CB6

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

Color values

HEX#822CB6
RGBrgb(130, 44, 182)
HSLhsl(277, 61%, 44%)
HSVhsv(277, 76%, 71%)
CMYKcmyk(28.6%, 75.8%, 0%, 28.6%)
CIE-LABlab(37.71, 58.52, -56.58)
CIE-LCHlch(37.71, 81.40, 315.97°)
OKLaboklab(48.93% 0.1297 -0.1606)
OKLCHoklch(48.93% 0.206 308.9)
XYZxyz(18.5484, 9.9249, 45.1855)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CB6 #60B62C
analogous
#3D2CB6 #822CB6 #B62CA5
triadic
#822CB6 #B6822C #2CB682
tetradic
#822CB6 #B63D2C #60B62C #2CA5B6
square
#822CB6 #B63D2C #60B62C #2CA5B6
split-complementary
#822CB6 #A5B62C #2CB63D
monochromatic
#3C1453 #5F2085 #822CB6 #A04CD4 #BA7DE0

Accessibility & contrast

On white

7.04
#822CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#822CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CB6
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CB6#FFFFFF#000000##FFFFFF
##822CB61.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#7A4D70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822cb6;
/* rgb */ color: rgb(130, 44, 182);
/* oklch */ color: oklch(48.9% 0.206 308.9);
Tailwind
colors: {
  custom: {
    50: '#ab6ecd',
    500: '#822cb6',
    950: '#000000',
  },
}
SCSS
$custom: #822cb6;
$custom-light: #ab6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#822cb6",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 277.391,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.20642,
    "h": 308.9
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#822CB6
secondary
#95C876
accent
#E44480
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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