#822BB4#822BB4

#822BB4 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.206 H 309.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#822BB4
RGBrgb(130, 43, 180)
HSLhsl(278, 61%, 44%)
HSVhsv(278, 76%, 71%)
CMYKcmyk(27.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(37.42, 58.47, -55.85)
CIE-LCHlch(37.42, 80.86, 316.31°)
OKLaboklab(48.68% 0.131 -0.1584)
OKLCHoklch(48.68% 0.206 309.6)
XYZxyz(18.3064, 9.7692, 44.0925)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB4 #5DB42B
analogous
#3D2BB4 #822BB4 #B42BA1
triadic
#822BB4 #B4822B #2BB482
tetradic
#822BB4 #B43D2B #5DB42B #2BA1B4
square
#822BB4 #B43D2B #5DB42B #2BA1B4
split-complementary
#822BB4 #A1B42B #2BB43D
monochromatic
#3B1351 #5E1F83 #822BB4 #A149D3 #BA7ADF

Accessibility & contrast

On white

7.11
#822BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#822BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB4
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB4#FFFFFF#000000##FFFFFF
##822BB41.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#7B4C6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822bb4;
/* rgb */ color: rgb(130, 43, 180);
/* oklch */ color: oklch(48.7% 0.206 309.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ecb',
    500: '#822bb4',
    950: '#000000',
  },
}
SCSS
$custom: #822bb4;
$custom-light: #ab6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb4",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 278.102,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.20557,
    "h": 309.6
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

primary
#822BB4
secondary
#92C773
accent
#E5437E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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