#822BBE#822BBE

#822BBE is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.215 H 306.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#822BBE
RGBrgb(130, 43, 190)
HSLhsl(276, 63%, 46%)
HSVhsv(276, 77%, 75%)
CMYKcmyk(31.6%, 77.4%, 0%, 25.5%)
CIE-LABlab(38.18, 60.65, -60.52)
CIE-LCHlch(38.18, 85.68, 315.06°)
OKLaboklab(49.46% 0.1289 -0.1721)
OKLCHoklch(49.46% 0.215 306.8)
XYZxyz(19.3620, 10.1915, 49.6524)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BBE #67BE2B
analogous
#382BBE #822BBE #BE2BB0
triadic
#822BBE #BE822B #2BBE82
tetradic
#822BBE #BE382B #67BE2B #2BB0BE
square
#822BBE #BE382B #67BE2B #2BB0BE
split-complementary
#822BBE #B0BE2B #2BBE38
monochromatic
#3E145A #60208C #822BBE #A04FD7 #BB81E2

Accessibility & contrast

On white

6.91
#822BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#822BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822BBE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BBE#FFFFFF#000000##FFFFFF
##822BBE1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#785074
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822bbe;
/* rgb */ color: rgb(130, 43, 190);
/* oklch */ color: oklch(49.5% 0.215 306.8);
Tailwind
colors: {
  custom: {
    50: '#ac6ed3',
    500: '#822bbe',
    950: '#000000',
  },
}
SCSS
$custom: #822bbe;
$custom-light: #ac6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#822bbe",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 275.51,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.21504,
    "h": 306.8
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#822BBE
secondary
#9BCB7A
accent
#E64285
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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