#822AB6#822AB6

#822AB6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.208 H 309.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#822AB6
RGBrgb(130, 42, 182)
HSLhsl(278, 63%, 44%)
HSVhsv(278, 77%, 71%)
CMYKcmyk(28.6%, 76.9%, 0%, 28.6%)
CIE-LABlab(37.44, 59.28, -57.01)
CIE-LCHlch(37.44, 82.24, 316.12°)
OKLaboklab(48.74% 0.1315 -0.1618)
OKLCHoklch(48.74% 0.208 309.1)
XYZxyz(18.4757, 9.7795, 45.1612)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AB6 #5EB62A
analogous
#3C2AB6 #822AB6 #B62AA4
triadic
#822AB6 #B6822A #2AB682
tetradic
#822AB6 #B63C2A #5EB62A #2AA4B6
square
#822AB6 #B63C2A #5EB62A #2AA4B6
split-complementary
#822AB6 #A4B62A #2AB63C
monochromatic
#3B1353 #5E1F84 #822AB6 #A148D5 #BA7AE0

Accessibility & contrast

On white

7.10
#822AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#822AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AB6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AB6#FFFFFF#000000##FFFFFF
##822AB61.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#7A4C6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822ab6;
/* rgb */ color: rgb(130, 42, 182);
/* oklch */ color: oklch(48.7% 0.208 309.1);
Tailwind
colors: {
  custom: {
    50: '#ab6dcd',
    500: '#822ab6',
    950: '#000000',
  },
}
SCSS
$custom: #822ab6;
$custom-light: #ab6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#822ab6",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 277.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.20849,
    "h": 309.1
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#822AB6
secondary
#93C873
accent
#E6427F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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