#822FB5#822FB5

#822FB5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.202 H 309.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#822FB5
RGBrgb(130, 47, 181)
HSLhsl(277, 59%, 45%)
HSVhsv(277, 74%, 71%)
CMYKcmyk(28.2%, 74%, 0%, 29%)
CIE-LABlab(38.05, 57.12, -55.44)
CIE-LCHlch(38.05, 79.60, 315.86°)
OKLaboklab(49.15% 0.1271 -0.1572)
OKLCHoklch(49.15% 0.202 309)
XYZxyz(18.5612, 10.1154, 44.6818)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FB5 #62B52F
analogous
#3F2FB5 #822FB5 #B52FA5
triadic
#822FB5 #B5822F #2FB582
tetradic
#822FB5 #B53F2F #62B52F #2FA5B5
square
#822FB5 #B53F2F #62B52F #2FA5B5
split-complementary
#822FB5 #A5B52F #2FB53F
monochromatic
#3C1654 #5F2284 #822FB5 #A050D1 #BA80DE

Accessibility & contrast

On white

6.95
#822FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#822FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FB5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FB5#FFFFFF#000000##FFFFFF
##822FB51.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#045BB2
Tritanopia (blue-blind)
#7A4E70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822fb5;
/* rgb */ color: rgb(130, 47, 181);
/* oklch */ color: oklch(49.1% 0.202 309.0);
Tailwind
colors: {
  custom: {
    50: '#ab70cc',
    500: '#822fb5',
    950: '#000000',
  },
}
SCSS
$custom: #822fb5;
$custom-light: #ab70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#822fb5",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 277.164,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49147,
    "c": 0.20219,
    "h": 309
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#822FB5
secondary
#97C779
accent
#E24681
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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