#822699#822699

#822699 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.186 H 318.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#822699
RGBrgb(130, 38, 153)
HSLhsl(288, 60%, 37%)
HSVhsv(288, 75%, 60%)
CMYKcmyk(15%, 75.2%, 0%, 40%)
CIE-LABlab(34.87, 54.78, -43.78)
CIE-LCHlch(34.87, 70.12, 321.37°)
OKLaboklab(46.27% 0.1398 -0.1229)
OKLCHoklch(46.27% 0.186 318.7)
XYZxyz(15.6480, 8.4327, 30.9342)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822699 #3D9926
analogous
#492699 #822699 #992676
triadic
#822699 #998226 #269982
tetradic
#822699 #994926 #3D9926 #267699
square
#822699 #994926 #3D9926 #267699
split-complementary
#822699 #769926 #269949
monochromatic
#2F0E37 #581A68 #822699 #AC32CA #C062D8

Accessibility & contrast

On white

7.82
#822699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#822699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822699
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822699#FFFFFF#000000##FFFFFF
##8226991.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#2D5596
Tritanopia (blue-blind)
#823E5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822699;
/* rgb */ color: rgb(130, 38, 153);
/* oklch */ color: oklch(46.3% 0.186 318.7);
Tailwind
colors: {
  custom: {
    50: '#aa6ab8',
    500: '#822699',
    950: '#000000',
  },
}
SCSS
$custom: #822699;
$custom-light: #aa6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#822699",
  "rgb": {
    "r": 130,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 288,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46273,
    "c": 0.18615,
    "h": 318.7
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#822699
secondary
#71BD5E
accent
#E34464
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822699

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

Preview Lab → · Contrast checker → · Palette generator →

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