#822AB2#822AB2

#822AB2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.205 H 310.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#822AB2
RGBrgb(130, 42, 178)
HSLhsl(279, 62%, 43%)
HSVhsv(279, 76%, 70%)
CMYKcmyk(27%, 76.4%, 0%, 30.2%)
CIE-LABlab(37.15, 58.42, -55.12)
CIE-LCHlch(37.15, 80.32, 316.66°)
OKLaboklab(48.44% 0.1323 -0.1563)
OKLCHoklch(48.44% 0.205 310.2)
XYZxyz(18.0682, 9.6165, 43.0152)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AB2 #5AB22A
analogous
#3E2AB2 #822AB2 #B22A9E
triadic
#822AB2 #B2822A #2AB282
tetradic
#822AB2 #B23E2A #5AB22A #2A9EB2
square
#822AB2 #B23E2A #5AB22A #2A9EB2
split-complementary
#822AB2 #9EB22A #2AB23E
monochromatic
#3A134F #5E1E80 #822AB2 #A146D3 #BA77DF

Accessibility & contrast

On white

7.18
#822AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#822AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AB2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AB2#FFFFFF#000000##FFFFFF
##822AB21.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0159AF
Tritanopia (blue-blind)
#7B4B6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822ab2;
/* rgb */ color: rgb(130, 42, 178);
/* oklch */ color: oklch(48.4% 0.205 310.2);
Tailwind
colors: {
  custom: {
    50: '#ab6dca',
    500: '#822ab2',
    950: '#000000',
  },
}
SCSS
$custom: #822ab2;
$custom-light: #ab6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#822ab2",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 278.824,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.20474,
    "h": 310.2
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#822AB2
secondary
#8FC771
accent
#E5437C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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