#822CB3#822CB3

#822CB3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.204 H 309.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#822CB3
RGBrgb(130, 44, 179)
HSLhsl(278, 61%, 44%)
HSVhsv(278, 75%, 70%)
CMYKcmyk(27.4%, 75.4%, 0%, 29.8%)
CIE-LABlab(37.49, 57.87, -55.16)
CIE-LCHlch(37.49, 79.95, 316.37°)
OKLaboklab(48.7% 0.1303 -0.1564)
OKLCHoklch(48.7% 0.204 309.8)
XYZxyz(18.2417, 9.8022, 43.5702)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CB3 #5DB32C
analogous
#3E2CB3 #822CB3 #B32CA0
triadic
#822CB3 #B3822C #2CB382
tetradic
#822CB3 #B33E2C #5DB32C #2CA0B3
square
#822CB3 #B33E2C #5DB32C #2CA0B3
split-complementary
#822CB3 #A0B32C #2CB33E
monochromatic
#3B1451 #5E2082 #822CB3 #A14AD2 #BA7BDF

Accessibility & contrast

On white

7.09
#822CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#822CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CB3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CB3#FFFFFF#000000##FFFFFF
##822CB31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0359B0
Tritanopia (blue-blind)
#7B4C6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822cb3;
/* rgb */ color: rgb(130, 44, 179);
/* oklch */ color: oklch(48.7% 0.204 309.8);
Tailwind
colors: {
  custom: {
    50: '#ab6ecb',
    500: '#822cb3',
    950: '#000000',
  },
}
SCSS
$custom: #822cb3;
$custom-light: #ab6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#822cb3",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 278.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48703,
    "c": 0.20357,
    "h": 309.8
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#822CB3
secondary
#92C774
accent
#E4447E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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