#822399#822399

#822399 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.189 H 318.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#822399
RGBrgb(130, 35, 153)
HSLhsl(288, 63%, 37%)
HSVhsv(288, 77%, 60%)
CMYKcmyk(15%, 77.1%, 0%, 40%)
CIE-LABlab(34.50, 55.85, -44.37)
CIE-LCHlch(34.50, 71.33, 321.53°)
OKLaboklab(46.01% 0.1426 -0.1247)
OKLCHoklch(46.01% 0.189 318.8)
XYZxyz(15.5559, 8.2485, 30.9035)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822399 #3A9923
analogous
#472399 #822399 #992375
triadic
#822399 #998223 #239982
tetradic
#822399 #994723 #3A9923 #237599
square
#822399 #994723 #3A9923 #237599
split-complementary
#822399 #759923 #239947
monochromatic
#2D0C35 #581867 #822399 #AC2ECB #C15DDA

Accessibility & contrast

On white

7.93
#822399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#822399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822399
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822399#FFFFFF#000000##FFFFFF
##8223991.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#823C5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822399;
/* rgb */ color: rgb(130, 35, 153);
/* oklch */ color: oklch(46.0% 0.189 318.8);
Tailwind
colors: {
  custom: {
    50: '#aa69b8',
    500: '#822399',
    950: '#000000',
  },
}
SCSS
$custom: #822399;
$custom-light: #aa69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#822399",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 288.305,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46008,
    "c": 0.18939,
    "h": 318.8
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#822399
secondary
#6DBE59
accent
#E64262
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822399

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

Preview Lab → · Contrast checker → · Palette generator →

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