#822BBA#822BBA

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

Color values

HEX#822BBA
RGBrgb(130, 43, 186)
HSLhsl(277, 62%, 45%)
HSVhsv(277, 77%, 73%)
CMYKcmyk(30.1%, 76.9%, 0%, 27.1%)
CIE-LABlab(37.88, 59.77, -58.67)
CIE-LCHlch(37.88, 83.75, 315.53°)
OKLaboklab(49.14% 0.1298 -0.1667)
OKLCHoklch(49.14% 0.211 307.9)
XYZxyz(18.9309, 10.0190, 47.3814)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BBA #63BA2B
analogous
#3A2BBA #822BBA #BA2BAB
triadic
#822BBA #BA822B #2BBA82
tetradic
#822BBA #BA3A2B #63BA2B #2BABBA
square
#822BBA #BA3A2B #63BA2B #2BABBA
split-complementary
#822BBA #ABBA2B #2BBA3A
monochromatic
#3D1457 #5F2088 #822BBA #A04CD6 #BA7EE1

Accessibility & contrast

On white

6.99
#822BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #822BBA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BBA#FFFFFF#000000##FFFFFF
##822BBA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#794F72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822bba;
/* rgb */ color: rgb(130, 43, 186);
/* oklch */ color: oklch(49.1% 0.211 307.9);
Tailwind
colors: {
  custom: {
    50: '#ac6ed0',
    500: '#822bba',
    950: '#000000',
  },
}
SCSS
$custom: #822bba;
$custom-light: #ac6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#822bba",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 276.503,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.21126,
    "h": 307.9
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#822BBA
secondary
#97CA77
accent
#E64282
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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