#822DB6#822DB6

#822DB6 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.205 H 308.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#822DB6
RGBrgb(130, 45, 182)
HSLhsl(277, 60%, 45%)
HSVhsv(277, 75%, 71%)
CMYKcmyk(28.6%, 75.3%, 0%, 28.6%)
CIE-LABlab(37.84, 58.13, -56.36)
CIE-LCHlch(37.84, 80.97, 315.89°)
OKLaboklab(49.03% 0.1288 -0.1599)
OKLCHoklch(49.03% 0.205 308.8)
XYZxyz(18.5861, 10.0003, 45.1980)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DB6 #61B62D
analogous
#3E2DB6 #822DB6 #B62DA6
triadic
#822DB6 #B6822D #2DB682
tetradic
#822DB6 #B63E2D #61B62D #2DA6B6
square
#822DB6 #B63E2D #61B62D #2DA6B6
split-complementary
#822DB6 #A6B62D #2DB63E
monochromatic
#3C1554 #5F2185 #822DB6 #A04DD3 #BA7EDF

Accessibility & contrast

On white

7.00
#822DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#822DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DB6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DB6#FFFFFF#000000##FFFFFF
##822DB61.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#7A4E70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822db6;
/* rgb */ color: rgb(130, 45, 182);
/* oklch */ color: oklch(49.0% 0.205 308.8);
Tailwind
colors: {
  custom: {
    50: '#ab6fcd',
    500: '#822db6',
    950: '#000000',
  },
}
SCSS
$custom: #822db6;
$custom-light: #ab6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#822db6",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 277.226,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.20535,
    "h": 308.8
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#822DB6
secondary
#96C877
accent
#E34481
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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