#822AB5#822AB5

#822AB5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.208 H 309.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#822AB5
RGBrgb(130, 42, 181)
HSLhsl(278, 62%, 44%)
HSVhsv(278, 77%, 71%)
CMYKcmyk(28.2%, 76.8%, 0%, 29%)
CIE-LABlab(37.37, 59.06, -56.54)
CIE-LCHlch(37.37, 81.76, 316.25°)
OKLaboklab(48.67% 0.1317 -0.1604)
OKLCHoklch(48.67% 0.208 309.4)
XYZxyz(18.3727, 9.7383, 44.6189)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AB5 #5DB52A
analogous
#3D2AB5 #822AB5 #B52AA2
triadic
#822AB5 #B5822A #2AB582
tetradic
#822AB5 #B53D2A #5DB52A #2AA2B5
square
#822AB5 #B53D2A #5DB52A #2AA2B5
split-complementary
#822AB5 #A2B52A #2AB53D
monochromatic
#3B1352 #5E1E83 #822AB5 #A148D4 #BA79E0

Accessibility & contrast

On white

7.12
#822AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#822AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AB5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AB5#FFFFFF#000000##FFFFFF
##822AB51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#7A4C6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822ab5;
/* rgb */ color: rgb(130, 42, 181);
/* oklch */ color: oklch(48.7% 0.208 309.4);
Tailwind
colors: {
  custom: {
    50: '#ab6dcc',
    500: '#822ab5',
    950: '#000000',
  },
}
SCSS
$custom: #822ab5;
$custom-light: #ab6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#822ab5",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 277.986,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48667,
    "c": 0.20756,
    "h": 309.4
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#822AB5
secondary
#92C873
accent
#E5427E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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