#822B94#822B94

#822B94 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.176 H 320.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#822B94
RGBrgb(130, 43, 148)
HSLhsl(290, 55%, 37%)
HSVhsv(290, 71%, 58%)
CMYKcmyk(12.2%, 70.9%, 0%, 42%)
CIE-LABlab(35.23, 51.86, -40.15)
CIE-LCHlch(35.23, 65.59, 322.25°)
OKLaboklab(46.43% 0.1351 -0.1124)
OKLCHoklch(46.43% 0.176 320.2)
XYZxyz(15.4144, 8.6125, 28.8617)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B94 #3D942B
analogous
#4D2B94 #822B94 #942B72
triadic
#822B94 #94822B #2B9482
tetradic
#822B94 #944D2B #3D942B #2B7294
square
#822B94 #944D2B #3D942B #2B7294
split-complementary
#822B94 #72942B #2B944D
monochromatic
#2F0F35 #581D65 #822B94 #AC39C3 #C067D3

Accessibility & contrast

On white

7.71
#822B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#822B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B94
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B94#FFFFFF#000000##FFFFFF
##822B941.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#355692
Tritanopia (blue-blind)
#833E5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822b94;
/* rgb */ color: rgb(130, 43, 148);
/* oklch */ color: oklch(46.4% 0.176 320.2);
Tailwind
colors: {
  custom: {
    50: '#aa6cb4',
    500: '#822b94',
    950: '#000000',
  },
}
SCSS
$custom: #822b94;
$custom-light: #aa6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#822b94",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 289.714,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.17568,
    "h": 320.2
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#822B94
secondary
#71B962
accent
#DE4963
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822B94

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

Preview Lab → · Contrast checker → · Palette generator →

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