#822CB8#822CB8

#822CB8 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.208 H 308.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#822CB8
RGBrgb(130, 44, 184)
HSLhsl(277, 61%, 45%)
HSVhsv(277, 76%, 72%)
CMYKcmyk(29.3%, 76.1%, 0%, 27.8%)
CIE-LABlab(37.86, 58.96, -57.52)
CIE-LCHlch(37.86, 82.37, 315.71°)
OKLaboklab(49.08% 0.1293 -0.1633)
OKLCHoklch(49.08% 0.208 308.4)
XYZxyz(18.7565, 10.0082, 46.2818)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CB8 #62B82C
analogous
#3C2CB8 #822CB8 #B82CA8
triadic
#822CB8 #B8822C #2CB882
tetradic
#822CB8 #B83C2C #62B82C #2CA8B8
square
#822CB8 #B83C2C #62B82C #2CA8B8
split-complementary
#822CB8 #A8B82C #2CB83C
monochromatic
#3C1455 #5F2087 #822CB8 #A04DD4 #BA7EE0

Accessibility & contrast

On white

7.00
#822CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#822CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822CB8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CB8#FFFFFF#000000##FFFFFF
##822CB81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#794E71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822cb8;
/* rgb */ color: rgb(130, 44, 184);
/* oklch */ color: oklch(49.1% 0.208 308.4);
Tailwind
colors: {
  custom: {
    50: '#ab6ece',
    500: '#822cb8',
    950: '#000000',
  },
}
SCSS
$custom: #822cb8;
$custom-light: #ab6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#822cb8",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 276.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.20833,
    "h": 308.4
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#822CB8
secondary
#97C977
accent
#E54381
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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