#822BB9#822BB9

#822BB9 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.210 H 308.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#822BB9
RGBrgb(130, 43, 185)
HSLhsl(277, 62%, 45%)
HSVhsv(277, 77%, 73%)
CMYKcmyk(29.7%, 76.8%, 0%, 27.5%)
CIE-LABlab(37.80, 59.55, -58.20)
CIE-LCHlch(37.80, 83.27, 315.66°)
OKLaboklab(49.07% 0.13 -0.1653)
OKLCHoklch(49.07% 0.21 308.2)
XYZxyz(18.8249, 9.9767, 46.8235)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB9 #62B92B
analogous
#3B2BB9 #822BB9 #B92BA9
triadic
#822BB9 #B9822B #2BB982
tetradic
#822BB9 #B93B2B #62B92B #2BA9B9
square
#822BB9 #B93B2B #62B92B #2BA9B9
split-complementary
#822BB9 #A9B92B #2BB93B
monochromatic
#3C1456 #5F1F87 #822BB9 #A04CD5 #BA7EE1

Accessibility & contrast

On white

7.01
#822BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822BB9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB9#FFFFFF#000000##FFFFFF
##822BB91.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#794E71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822bb9;
/* rgb */ color: rgb(130, 43, 185);
/* oklch */ color: oklch(49.1% 0.210 308.2);
Tailwind
colors: {
  custom: {
    50: '#ac6ecf',
    500: '#822bb9',
    950: '#000000',
  },
}
SCSS
$custom: #822bb9;
$custom-light: #ac6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb9",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 276.761,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49065,
    "c": 0.21031,
    "h": 308.2
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#822BB9
secondary
#97C976
accent
#E54282
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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