#822AB3#822AB3

#822AB3 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.206 H 310.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#822AB3
RGBrgb(130, 42, 179)
HSLhsl(279, 62%, 43%)
HSVhsv(279, 77%, 70%)
CMYKcmyk(27.4%, 76.5%, 0%, 29.8%)
CIE-LABlab(37.22, 58.63, -55.60)
CIE-LCHlch(37.22, 80.80, 316.52°)
OKLaboklab(48.52% 0.1321 -0.1577)
OKLCHoklch(48.52% 0.206 310)
XYZxyz(18.1690, 9.6568, 43.5459)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AB3 #5BB32A
analogous
#3D2AB3 #822AB3 #B32A9F
triadic
#822AB3 #B3822A #2AB382
tetradic
#822AB3 #B33D2A #5BB32A #2A9FB3
square
#822AB3 #B33D2A #5BB32A #2A9FB3
split-complementary
#822AB3 #9FB32A #2AB33D
monochromatic
#3A1350 #5E1E81 #822AB3 #A146D4 #BA78DF

Accessibility & contrast

On white

7.16
#822AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#822AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AB3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AB3#FFFFFF#000000##FFFFFF
##822AB31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#7B4B6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822ab3;
/* rgb */ color: rgb(130, 42, 179);
/* oklch */ color: oklch(48.5% 0.206 310.0);
Tailwind
colors: {
  custom: {
    50: '#ab6dcb',
    500: '#822ab3',
    950: '#000000',
  },
}
SCSS
$custom: #822ab3;
$custom-light: #ab6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#822ab3",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 278.54,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.20568,
    "h": 310
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#822AB3
secondary
#90C772
accent
#E5437D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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