#822CBA#822CBA

#822CBA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.210 H 307.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#822CBA
RGBrgb(130, 44, 186)
HSLhsl(276, 62%, 45%)
HSVhsv(276, 76%, 73%)
CMYKcmyk(30.1%, 76.3%, 0%, 27.1%)
CIE-LABlab(38.01, 59.39, -58.45)
CIE-LCHlch(38.01, 83.33, 315.46°)
OKLaboklab(49.24% 0.1289 -0.1661)
OKLCHoklch(49.24% 0.21 307.8)
XYZxyz(18.9677, 10.0926, 47.3937)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CBA #64BA2C
analogous
#3B2CBA #822CBA #BA2CAB
triadic
#822CBA #BA822C #2CBA82
tetradic
#822CBA #BA3B2C #64BA2C #2CABBA
square
#822CBA #BA3B2C #64BA2C #2CABBA
split-complementary
#822CBA #ABBA2C #2CBA3B
monochromatic
#3D1557 #5F2089 #822CBA #A04ED5 #BA80E1

Accessibility & contrast

On white

6.96
#822CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#822CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822CBA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CBA#FFFFFF#000000##FFFFFF
##822CBA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#794F72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822cba;
/* rgb */ color: rgb(130, 44, 186);
/* oklch */ color: oklch(49.2% 0.210 307.8);
Tailwind
colors: {
  custom: {
    50: '#ac6fd0',
    500: '#822cba',
    950: '#000000',
  },
}
SCSS
$custom: #822cba;
$custom-light: #ac6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#822cba",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 276.338,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.21023,
    "h": 307.8
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#822CBA
secondary
#98CA78
accent
#E54383
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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