#822BB6#822BB6

#822BB6 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.207 H 309.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#822BB6
RGBrgb(130, 43, 182)
HSLhsl(278, 62%, 44%)
HSVhsv(278, 76%, 71%)
CMYKcmyk(28.6%, 76.4%, 0%, 28.6%)
CIE-LABlab(37.57, 58.90, -56.80)
CIE-LCHlch(37.57, 81.83, 316.04°)
OKLaboklab(48.84% 0.1306 -0.1612)
OKLCHoklch(48.84% 0.207 309)
XYZxyz(18.5116, 9.8513, 45.1732)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB6 #5FB62B
analogous
#3D2BB6 #822BB6 #B62BA5
triadic
#822BB6 #B6822B #2BB682
tetradic
#822BB6 #B63D2B #5FB62B #2BA5B6
square
#822BB6 #B63D2B #5FB62B #2BA5B6
split-complementary
#822BB6 #A5B62B #2BB63D
monochromatic
#3B1453 #5F1F84 #822BB6 #A14AD4 #BA7BE0

Accessibility & contrast

On white

7.07
#822BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#822BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB6#FFFFFF#000000##FFFFFF
##822BB61.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#7A4D6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822bb6;
/* rgb */ color: rgb(130, 43, 182);
/* oklch */ color: oklch(48.8% 0.207 309.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ecd',
    500: '#822bb6',
    950: '#000000',
  },
}
SCSS
$custom: #822bb6;
$custom-light: #ab6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb6",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 277.554,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.20747,
    "h": 309
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#822BB6
secondary
#94C875
accent
#E54380
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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