#822AB4#822AB4

#822AB4 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.207 H 309.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#822AB4
RGBrgb(130, 42, 180)
HSLhsl(278, 62%, 44%)
HSVhsv(278, 77%, 71%)
CMYKcmyk(27.8%, 76.7%, 0%, 29.4%)
CIE-LABlab(37.29, 58.85, -56.07)
CIE-LCHlch(37.29, 81.28, 316.39°)
OKLaboklab(48.59% 0.1319 -0.159)
OKLCHoklch(48.59% 0.207 309.7)
XYZxyz(18.2705, 9.6974, 44.0805)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AB4 #5CB42A
analogous
#3D2AB4 #822AB4 #B42AA1
triadic
#822AB4 #B4822A #2AB482
tetradic
#822AB4 #B43D2A #5CB42A #2AA1B4
square
#822AB4 #B43D2A #5CB42A #2AA1B4
split-complementary
#822AB4 #A1B42A #2AB43D
monochromatic
#3A1351 #5E1E82 #822AB4 #A147D4 #BA79E0

Accessibility & contrast

On white

7.14
#822AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#822AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AB4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AB4#FFFFFF#000000##FFFFFF
##822AB41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#7B4C6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822ab4;
/* rgb */ color: rgb(130, 42, 180);
/* oklch */ color: oklch(48.6% 0.207 309.7);
Tailwind
colors: {
  custom: {
    50: '#ab6dcb',
    500: '#822ab4',
    950: '#000000',
  },
}
SCSS
$custom: #822ab4;
$custom-light: #ab6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#822ab4",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 278.261,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.20662,
    "h": 309.7
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#822AB4
secondary
#91C872
accent
#E5437E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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