#822CB7#822CB7

#822CB7 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.207 H 308.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#822CB7
RGBrgb(130, 44, 183)
HSLhsl(277, 61%, 45%)
HSVhsv(277, 76%, 72%)
CMYKcmyk(29%, 76%, 0%, 28.2%)
CIE-LABlab(37.78, 58.74, -57.05)
CIE-LCHlch(37.78, 81.88, 315.84°)
OKLaboklab(49.01% 0.1295 -0.1619)
OKLCHoklch(49.01% 0.207 308.7)
XYZxyz(18.6521, 9.9664, 45.7317)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CB7 #61B72C
analogous
#3C2CB7 #822CB7 #B72CA7
triadic
#822CB7 #B7822C #2CB782
tetradic
#822CB7 #B73C2C #61B72C #2CA7B7
square
#822CB7 #B73C2C #61B72C #2CA7B7
split-complementary
#822CB7 #A7B72C #2CB73C
monochromatic
#3C1454 #5F2086 #822CB7 #A04CD4 #BA7EE0

Accessibility & contrast

On white

7.02
#822CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#822CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CB7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CB7#FFFFFF#000000##FFFFFF
##822CB71.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#7A4E70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822cb7;
/* rgb */ color: rgb(130, 44, 183);
/* oklch */ color: oklch(49.0% 0.207 308.7);
Tailwind
colors: {
  custom: {
    50: '#ab6ecd',
    500: '#822cb7',
    950: '#000000',
  },
}
SCSS
$custom: #822cb7;
$custom-light: #ab6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#822cb7",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 277.122,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.20737,
    "h": 308.7
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#822CB7
secondary
#96C876
accent
#E44381
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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