#822BCC#822BCC

#822BCC is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.6% C 0.228 H 303.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#822BCC
RGBrgb(130, 43, 204)
HSLhsl(272, 65%, 48%)
HSVhsv(272, 79%, 80%)
CMYKcmyk(36.3%, 78.9%, 0%, 20%)
CIE-LABlab(39.30, 63.76, -66.88)
CIE-LCHlch(39.30, 92.40, 313.63°)
OKLaboklab(50.58% 0.1254 -0.1908)
OKLCHoklch(50.58% 0.228 303.3)
XYZxyz(20.9663, 10.8332, 58.1015)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BCC #75CC2B
analogous
#312BCC #822BCC #CC2BC5
triadic
#822BCC #CC822B #2BCC82
tetradic
#822BCC #CC312B #75CC2B #2BC5CC
square
#822BCC #CC312B #75CC2B #2BC5CC
split-complementary
#822BCC #C5CC2B #2BCC31
monochromatic
#421667 #622099 #822BCC #9F58DC #BC8BE7

Accessibility & contrast

On white

6.63
#822BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#822BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822BCC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BCC#FFFFFF#000000##FFFFFF
##822BCC1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#73567C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #822bcc;
/* rgb */ color: rgb(130, 43, 204);
/* oklch */ color: oklch(50.6% 0.228 303.3);
Tailwind
colors: {
  custom: {
    50: '#ad6fdd',
    500: '#822bcc',
    950: '#000000',
  },
}
SCSS
$custom: #822bcc;
$custom-light: #ad6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#822bcc",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 272.422,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.22833,
    "h": 303.3
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#822BCC
secondary
#A6D082
accent
#E8408D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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