#822792#822792

#822792 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.179 H 321.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#822792
RGBrgb(130, 39, 146)
HSLhsl(291, 58%, 36%)
HSVhsv(291, 73%, 57%)
CMYKcmyk(11%, 73.3%, 0%, 42.7%)
CIE-LABlab(34.55, 53.05, -40.02)
CIE-LCHlch(34.55, 66.45, 322.97°)
OKLaboklab(45.9% 0.1394 -0.1119)
OKLCHoklch(45.9% 0.179 321.2)
XYZxyz(15.1192, 8.2730, 27.9890)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822792 #379227
analogous
#4D2792 #822792 #92276D
triadic
#822792 #928227 #279282
tetradic
#822792 #924D27 #379227 #276D92
square
#822792 #924D27 #379227 #276D92
split-complementary
#822792 #6D9227 #27924D
monochromatic
#2C0D31 #571A62 #822792 #AD34C2 #C35FD4

Accessibility & contrast

On white

7.91
#822792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822792
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822792#FFFFFF#000000##FFFFFF
##8227921.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#34558F
Tritanopia (blue-blind)
#833B5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822792;
/* rgb */ color: rgb(130, 39, 146);
/* oklch */ color: oklch(45.9% 0.179 321.2);
Tailwind
colors: {
  custom: {
    50: '#aa6ab2',
    500: '#822792',
    950: '#000000',
  },
}
SCSS
$custom: #822792;
$custom-light: #aa6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#822792",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 291.028,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.17877,
    "h": 321.2
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#822792
secondary
#69BA5B
accent
#E1475E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822792

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

Preview Lab → · Contrast checker → · Palette generator →

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