#822AB1#822AB1

#822AB1 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.204 H 310.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#822AB1
RGBrgb(130, 42, 177)
HSLhsl(279, 62%, 43%)
HSVhsv(279, 76%, 69%)
CMYKcmyk(26.6%, 76.3%, 0%, 30.6%)
CIE-LABlab(37.07, 58.21, -54.65)
CIE-LCHlch(37.07, 79.84, 316.81°)
OKLaboklab(48.36% 0.1325 -0.1549)
OKLCHoklch(48.36% 0.204 310.5)
XYZxyz(17.9682, 9.5765, 42.4884)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AB1 #59B12A
analogous
#3E2AB1 #822AB1 #B12A9C
triadic
#822AB1 #B1822A #2AB182
tetradic
#822AB1 #B13E2A #59B12A #2A9CB1
square
#822AB1 #B13E2A #59B12A #2A9CB1
split-complementary
#822AB1 #9CB12A #2AB13E
monochromatic
#39134E #5E1E80 #822AB1 #A245D3 #BA77DF

Accessibility & contrast

On white

7.20
#822AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#822AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AB1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AB1#FFFFFF#000000##FFFFFF
##822AB11.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0659AE
Tritanopia (blue-blind)
#7C4A6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822ab1;
/* rgb */ color: rgb(130, 42, 177);
/* oklch */ color: oklch(48.4% 0.204 310.5);
Tailwind
colors: {
  custom: {
    50: '#ab6dc9',
    500: '#822ab1',
    950: '#000000',
  },
}
SCSS
$custom: #822ab1;
$custom-light: #ab6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#822ab1",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 279.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48364,
    "c": 0.2038,
    "h": 310.5
  },
  "luminance": 0.09576
}

Semantic roles & 50–950 ramp

primary
#822AB1
secondary
#8EC670
accent
#E5437B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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