#822796#822796

#822796 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.182 H 319.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#822796
RGBrgb(130, 39, 150)
HSLhsl(289, 59%, 37%)
HSVhsv(289, 74%, 59%)
CMYKcmyk(13.3%, 74%, 0%, 41.2%)
CIE-LABlab(34.80, 53.82, -42.05)
CIE-LCHlch(34.80, 68.30, 322.00°)
OKLaboklab(46.16% 0.1391 -0.1179)
OKLCHoklch(46.16% 0.182 319.7)
XYZxyz(15.4358, 8.3996, 29.6565)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822796 #3B9627
analogous
#4B2796 #822796 #962773
triadic
#822796 #968227 #279682
tetradic
#822796 #964B27 #3B9627 #277396
square
#822796 #964B27 #3B9627 #277396
split-complementary
#822796 #739627 #27964B
monochromatic
#2E0E35 #581A65 #822796 #AC34C7 #C161D6

Accessibility & contrast

On white

7.84
#822796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#822796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822796
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822796#FFFFFF#000000##FFFFFF
##8227961.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#305593
Tritanopia (blue-blind)
#823D5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822796;
/* rgb */ color: rgb(130, 39, 150);
/* oklch */ color: oklch(46.2% 0.182 319.7);
Tailwind
colors: {
  custom: {
    50: '#aa6bb5',
    500: '#822796',
    950: '#000000',
  },
}
SCSS
$custom: #822796;
$custom-light: #aa6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#822796",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 289.189,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46162,
    "c": 0.18233,
    "h": 319.7
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#822796
secondary
#6EBC5D
accent
#E24662
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822796

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

Preview Lab → · Contrast checker → · Palette generator →

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