#822CC5#822CC5

#822CC5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.221 H 304.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#822CC5
RGBrgb(130, 44, 197)
HSLhsl(274, 63%, 47%)
HSVhsv(274, 78%, 77%)
CMYKcmyk(34%, 77.7%, 0%, 22.7%)
CIE-LABlab(38.86, 61.83, -63.52)
CIE-LCHlch(38.86, 88.64, 314.23°)
OKLaboklab(50.1% 0.1264 -0.181)
OKLCHoklch(50.1% 0.221 304.9)
XYZxyz(20.1824, 10.5785, 53.7911)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CC5 #6FC52C
analogous
#352CC5 #822CC5 #C52CBC
triadic
#822CC5 #C5822C #2CC582
tetradic
#822CC5 #C5352C #6FC52C #2CBCC5
square
#822CC5 #C5352C #6FC52C #2CBCC5
split-complementary
#822CC5 #BCC52C #2CC535
monochromatic
#401661 #612193 #822CC5 #9F55D9 #BB87E4

Accessibility & contrast

On white

6.74
#822CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#822CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822CC5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CC5#FFFFFF#000000##FFFFFF
##822CC51.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#755478
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #822cc5;
/* rgb */ color: rgb(130, 44, 197);
/* oklch */ color: oklch(50.1% 0.221 304.9);
Tailwind
colors: {
  custom: {
    50: '#ac6fd8',
    500: '#822cc5',
    950: '#000000',
  },
}
SCSS
$custom: #822cc5;
$custom-light: #ac6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#822cc5",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 273.725,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.501,
    "c": 0.22073,
    "h": 304.9
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#822CC5
secondary
#A2CE7F
accent
#E7418A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #822CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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