#822D98#822D98

#822D98 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.177 H 318.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#822D98
RGBrgb(130, 45, 152)
HSLhsl(288, 54%, 39%)
HSVhsv(288, 70%, 60%)
CMYKcmyk(14.5%, 70.4%, 0%, 40.4%)
CIE-LABlab(35.77, 51.83, -41.72)
CIE-LCHlch(35.77, 66.53, 321.17°)
OKLaboklab(46.9% 0.1327 -0.1169)
OKLCHoklch(46.9% 0.177 318.6)
XYZxyz(15.8110, 8.8903, 30.5828)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D98 #43982D
analogous
#4C2D98 #822D98 #982D78
triadic
#822D98 #98822D #2D9882
tetradic
#822D98 #984C2D #43982D #2D7898
square
#822D98 #984C2D #43982D #2D7898
split-complementary
#822D98 #78982D #2D984C
monochromatic
#31113A #5A1F69 #822D98 #A93DC5 #BE6CD3

Accessibility & contrast

On white

7.56
#822D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#822D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D98
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D98#FFFFFF#000000##FFFFFF
##822D981.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#82415F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #822d98;
/* rgb */ color: rgb(130, 45, 152);
/* oklch */ color: oklch(46.9% 0.177 318.6);
Tailwind
colors: {
  custom: {
    50: '#aa6eb7',
    500: '#822d98',
    950: '#000000',
  },
}
SCSS
$custom: #822d98;
$custom-light: #aa6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#822d98",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 287.664,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.17684,
    "h": 318.6
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#822D98
secondary
#78BA66
accent
#DE4A68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #822D98

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

Preview Lab → · Contrast checker → · Palette generator →

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