#822BB2#822BB2

#822BB2 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.204 H 310.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#822BB2
RGBrgb(130, 43, 178)
HSLhsl(279, 61%, 43%)
HSVhsv(279, 76%, 70%)
CMYKcmyk(27%, 75.8%, 0%, 30.2%)
CIE-LABlab(37.28, 58.04, -54.91)
CIE-LCHlch(37.28, 79.90, 316.59°)
OKLaboklab(48.53% 0.1314 -0.1556)
OKLCHoklch(48.53% 0.204 310.2)
XYZxyz(18.1041, 9.6883, 43.0272)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB2 #5BB22B
analogous
#3F2BB2 #822BB2 #B22B9E
triadic
#822BB2 #B2822B #2BB282
tetradic
#822BB2 #B23F2B #5BB22B #2B9EB2
square
#822BB2 #B23F2B #5BB22B #2B9EB2
split-complementary
#822BB2 #9EB22B #2BB23F
monochromatic
#3A134F #5E1F81 #822BB2 #A148D3 #BA79DF

Accessibility & contrast

On white

7.15
#822BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#822BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB2#FFFFFF#000000##FFFFFF
##822BB21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0459AF
Tritanopia (blue-blind)
#7B4B6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822bb2;
/* rgb */ color: rgb(130, 43, 178);
/* oklch */ color: oklch(48.5% 0.204 310.2);
Tailwind
colors: {
  custom: {
    50: '#ab6eca',
    500: '#822bb2',
    950: '#000000',
  },
}
SCSS
$custom: #822bb2;
$custom-light: #ab6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb2",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 278.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48533,
    "c": 0.20369,
    "h": 310.2
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#822BB2
secondary
#90C772
accent
#E4447D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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