#822BAC#822BAC

#822BAC is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.198 H 312.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#822BAC
RGBrgb(130, 43, 172)
HSLhsl(280, 60%, 42%)
HSVhsv(280, 75%, 67%)
CMYKcmyk(24.4%, 75%, 0%, 32.5%)
CIE-LABlab(36.84, 56.76, -52.04)
CIE-LCHlch(36.84, 77.01, 317.48°)
OKLaboklab(48.09% 0.1324 -0.1472)
OKLCHoklch(48.09% 0.198 312)
XYZxyz(17.5148, 9.4526, 39.9236)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BAC #55AC2B
analogous
#412BAC #822BAC #AC2B96
triadic
#822BAC #AC822B #2BAC82
tetradic
#822BAC #AC412B #55AC2B #2B96AC
square
#822BAC #AC412B #55AC2B #2B96AC
split-complementary
#822BAC #96AC2B #2BAC41
monochromatic
#38134A #5D1F7B #822BAC #A344D0 #BB75DC

Accessibility & contrast

On white

7.27
#822BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#822BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BAC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BAC#FFFFFF#000000##FFFFFF
##822BAC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#1758A9
Tritanopia (blue-blind)
#7D496A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822bac;
/* rgb */ color: rgb(130, 43, 172);
/* oklch */ color: oklch(48.1% 0.198 312.0);
Tailwind
colors: {
  custom: {
    50: '#ab6dc5',
    500: '#822bac',
    950: '#000000',
  },
}
SCSS
$custom: #822bac;
$custom-light: #ab6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#822bac",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 280.465,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48088,
    "c": 0.19803,
    "h": 312
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#822BAC
secondary
#8BC46F
accent
#E34578
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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