#822AB7#822AB7

#822AB7 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.209 H 308.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#822AB7
RGBrgb(130, 42, 183)
HSLhsl(277, 63%, 44%)
HSVhsv(277, 77%, 72%)
CMYKcmyk(29%, 77%, 0%, 28.2%)
CIE-LABlab(37.52, 59.49, -57.48)
CIE-LCHlch(37.52, 82.72, 315.99°)
OKLaboklab(48.82% 0.1313 -0.1632)
OKLCHoklch(48.82% 0.209 308.8)
XYZxyz(18.5794, 9.8210, 45.7074)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AB7 #5FB72A
analogous
#3C2AB7 #822AB7 #B72AA6
triadic
#822AB7 #B7822A #2AB782
tetradic
#822AB7 #B73C2A #5FB72A #2AA6B7
square
#822AB7 #B73C2A #5FB72A #2AA6B7
split-complementary
#822AB7 #A6B72A #2AB73C
monochromatic
#3B1353 #5F1F85 #822AB7 #A149D5 #BA7BE1

Accessibility & contrast

On white

7.08
#822AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822AB7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AB7#FFFFFF#000000##FFFFFF
##822AB71.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#7A4D70
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822ab7;
/* rgb */ color: rgb(130, 42, 183);
/* oklch */ color: oklch(48.8% 0.209 308.8);
Tailwind
colors: {
  custom: {
    50: '#ab6dcd',
    500: '#822ab7',
    950: '#000000',
  },
}
SCSS
$custom: #822ab7;
$custom-light: #ab6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#822ab7",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 277.447,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.20943,
    "h": 308.8
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#822AB7
secondary
#94C974
accent
#E64280
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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