#822AB9#822AB9

#822AB9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.211 H 308.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#822AB9
RGBrgb(130, 42, 185)
HSLhsl(277, 63%, 45%)
HSVhsv(277, 77%, 73%)
CMYKcmyk(29.7%, 77.3%, 0%, 27.5%)
CIE-LABlab(37.67, 59.93, -58.41)
CIE-LCHlch(37.67, 83.68, 315.73°)
OKLaboklab(48.98% 0.1308 -0.1659)
OKLCHoklch(48.98% 0.211 308.3)
XYZxyz(18.7890, 9.9048, 46.8116)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AB9 #61B92A
analogous
#3A2AB9 #822AB9 #B92AA9
triadic
#822AB9 #B9822A #2AB982
tetradic
#822AB9 #B93A2A #61B92A #2AA9B9
square
#822AB9 #B93A2A #61B92A #2AA9B9
split-complementary
#822AB9 #A9B92A #2AB93A
monochromatic
#3C1355 #5F1F87 #822AB9 #A04AD6 #BA7CE1

Accessibility & contrast

On white

7.04
#822AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#822AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AB9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AB9#FFFFFF#000000##FFFFFF
##822AB91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#794E71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822ab9;
/* rgb */ color: rgb(130, 42, 185);
/* oklch */ color: oklch(49.0% 0.211 308.3);
Tailwind
colors: {
  custom: {
    50: '#ac6ecf',
    500: '#822ab9',
    950: '#000000',
  },
}
SCSS
$custom: #822ab9;
$custom-light: #ac6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#822ab9",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 276.923,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.21132,
    "h": 308.3
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#822AB9
secondary
#96CA75
accent
#E64281
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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