#822CB2#822CB2

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

Color values

HEX#822CB2
RGBrgb(130, 44, 178)
HSLhsl(279, 60%, 44%)
HSVhsv(279, 75%, 70%)
CMYKcmyk(27%, 75.3%, 0%, 30.2%)
CIE-LABlab(37.41, 57.66, -54.69)
CIE-LCHlch(37.41, 79.47, 316.51°)
OKLaboklab(48.63% 0.1305 -0.155)
OKLCHoklch(48.63% 0.203 310.1)
XYZxyz(18.1409, 9.7619, 43.0394)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CB2 #5CB22C
analogous
#3F2CB2 #822CB2 #B22C9F
triadic
#822CB2 #B2822C #2CB282
tetradic
#822CB2 #B23F2C #5CB22C #2C9FB2
square
#822CB2 #B23F2C #5CB22C #2C9FB2
split-complementary
#822CB2 #9FB22C #2CB23F
monochromatic
#3A1450 #5E2081 #822CB2 #A149D2 #BA7ADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822CB2#FFFFFF#000000##FFFFFF
##822CB21.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)
#0054B6
Deuteranopia (green-blind)
#0759AF
Tritanopia (blue-blind)
#7B4C6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822cb2;
/* rgb */ color: rgb(130, 44, 178);
/* oklch */ color: oklch(48.6% 0.203 310.1);
Tailwind
colors: {
  custom: {
    50: '#ab6eca',
    500: '#822cb2',
    950: '#000000',
  },
}
SCSS
$custom: #822cb2;
$custom-light: #ab6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#822cb2",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 278.507,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.20261,
    "h": 310.1
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#822CB2
secondary
#91C673
accent
#E4447D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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