#822DB9#822DB9

#822DB9 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.208 H 308.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#822DB9
RGBrgb(130, 45, 185)
HSLhsl(276, 61%, 45%)
HSVhsv(276, 76%, 73%)
CMYKcmyk(29.7%, 75.7%, 0%, 27.5%)
CIE-LABlab(38.07, 58.79, -57.77)
CIE-LCHlch(38.07, 82.42, 315.50°)
OKLaboklab(49.25% 0.1282 -0.1641)
OKLCHoklch(49.25% 0.208 308)
XYZxyz(18.8994, 10.1257, 46.8484)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DB9 #64B92D
analogous
#3C2DB9 #822DB9 #B92DAA
triadic
#822DB9 #B9822D #2DB982
tetradic
#822DB9 #B93C2D #64B92D #2DAAB9
square
#822DB9 #B93C2D #64B92D #2DAAB9
split-complementary
#822DB9 #AAB92D #2DB93C
monochromatic
#3D1557 #5F2188 #822DB9 #A04FD4 #BA80E0

Accessibility & contrast

On white

6.94
#822DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#822DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DB9
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DB9#FFFFFF#000000##FFFFFF
##822DB91.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#794F71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822db9;
/* rgb */ color: rgb(130, 45, 185);
/* oklch */ color: oklch(49.3% 0.208 308.0);
Tailwind
colors: {
  custom: {
    50: '#ab6fcf',
    500: '#822db9',
    950: '#000000',
  },
}
SCSS
$custom: #822db9;
$custom-light: #ab6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#822db9",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 276.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.20823,
    "h": 308
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#822DB9
secondary
#98C979
accent
#E44483
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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