#822B98#822B98

#822B98 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.179 H 318.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#822B98
RGBrgb(130, 43, 152)
HSLhsl(288, 56%, 38%)
HSVhsv(288, 72%, 60%)
CMYKcmyk(14.5%, 71.7%, 0%, 40.4%)
CIE-LABlab(35.48, 52.65, -42.18)
CIE-LCHlch(35.48, 67.46, 321.30°)
OKLaboklab(46.69% 0.1348 -0.1183)
OKLCHoklch(46.69% 0.179 318.7)
XYZxyz(15.7365, 8.7413, 30.5580)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B98 #41982B
analogous
#4B2B98 #822B98 #982B77
triadic
#822B98 #98822B #2B9882
tetradic
#822B98 #984B2B #41982B #2B7798
square
#822B98 #984B2B #41982B #2B7798
split-complementary
#822B98 #77982B #2B984B
monochromatic
#301039 #591E68 #822B98 #AA39C7 #BF69D5

Accessibility & contrast

On white

7.64
#822B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#822B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B98
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B98#FFFFFF#000000##FFFFFF
##822B981.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#82405E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822b98;
/* rgb */ color: rgb(130, 43, 152);
/* oklch */ color: oklch(46.7% 0.179 318.7);
Tailwind
colors: {
  custom: {
    50: '#aa6db7',
    500: '#822b98',
    950: '#000000',
  },
}
SCSS
$custom: #822b98;
$custom-light: #aa6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#822b98",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 287.89,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.17936,
    "h": 318.7
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#822B98
secondary
#75BB64
accent
#DF4967
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822B98

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

Preview Lab → · Contrast checker → · Palette generator →

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