#822899#822899

#822899 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.184 H 318.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#822899
RGBrgb(130, 40, 153)
HSLhsl(288, 59%, 38%)
HSVhsv(288, 74%, 60%)
CMYKcmyk(15%, 73.9%, 0%, 40%)
CIE-LABlab(35.13, 54.03, -43.35)
CIE-LCHlch(35.13, 69.27, 321.26°)
OKLaboklab(46.46% 0.1378 -0.1217)
OKLCHoklch(46.46% 0.184 318.6)
XYZxyz(15.7137, 8.5640, 30.9561)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822899 #3F9928
analogous
#4A2899 #822899 #992877
triadic
#822899 #998228 #289982
tetradic
#822899 #994A28 #3F9928 #287799
square
#822899 #994A28 #3F9928 #287799
split-complementary
#822899 #779928 #28994A
monochromatic
#300F38 #591B68 #822899 #AB35CA #BF65D7

Accessibility & contrast

On white

7.74
#822899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#822899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822899
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822899#FFFFFF#000000##FFFFFF
##8228991.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#2E5596
Tritanopia (blue-blind)
#823F5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822899;
/* rgb */ color: rgb(130, 40, 153);
/* oklch */ color: oklch(46.5% 0.184 318.6);
Tailwind
colors: {
  custom: {
    50: '#aa6bb8',
    500: '#822899',
    950: '#000000',
  },
}
SCSS
$custom: #822899;
$custom-light: #aa6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#822899",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 287.788,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.18387,
    "h": 318.6
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#822899
secondary
#73BD60
accent
#E24666
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822899

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

Preview Lab → · Contrast checker → · Palette generator →

#822899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva