#822299#822299

#822299 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.190 H 318.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#822299
RGBrgb(130, 34, 153)
HSLhsl(288, 64%, 37%)
HSVhsv(288, 78%, 60%)
CMYKcmyk(15%, 77.8%, 0%, 40%)
CIE-LABlab(34.38, 56.19, -44.57)
CIE-LCHlch(34.38, 71.72, 321.58°)
OKLaboklab(45.92% 0.1435 -0.1252)
OKLCHoklch(45.92% 0.19 318.9)
XYZxyz(15.5269, 8.1905, 30.8939)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822299 #399922
analogous
#472299 #822299 #992275
triadic
#822299 #998222 #229982
tetradic
#822299 #994722 #399922 #227599
square
#822299 #994722 #399922 #227599
split-complementary
#822299 #759922 #229947
monochromatic
#2D0C35 #571767 #822299 #AD2DCB #C25BDB

Accessibility & contrast

On white

7.96
#822299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#822299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822299
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822299#FFFFFF#000000##FFFFFF
##8222991.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822299;
/* rgb */ color: rgb(130, 34, 153);
/* oklch */ color: oklch(45.9% 0.190 318.9);
Tailwind
colors: {
  custom: {
    50: '#aa69b8',
    500: '#822299',
    950: '#000000',
  },
}
SCSS
$custom: #822299;
$custom-light: #aa69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#822299",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 288.403,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.19043,
    "h": 318.9
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#822299
secondary
#6CBF58
accent
#E74161
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822299

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

Preview Lab → · Contrast checker → · Palette generator →

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