#822078#822078

#822078 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.165 H 332.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#822078
RGBrgb(130, 32, 120)
HSLhsl(306, 60%, 32%)
HSVhsv(306, 75%, 51%)
CMYKcmyk(0%, 75.4%, 7.7%, 49%)
CIE-LABlab(32.11, 50.97, -27.72)
CIE-LCHlch(32.11, 58.02, 331.46°)
OKLaboklab(43.66% 0.1467 -0.0761)
OKLCHoklch(43.66% 0.165 332.6)
XYZxyz(13.1126, 7.1360, 18.4524)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822078 #20822A
analogous
#5B2082 #822078 #822047
triadic
#822078 #788220 #207882
tetradic
#822078 #825B20 #20822A #204782
square
#822078 #825B20 #20822A #204782
split-complementary
#822078 #478220 #20825B
monochromatic
#20081D #51144B #822078 #B32CA5 #D24AC5

Accessibility & contrast

On white

8.65
#822078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#822078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822078
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822078#FFFFFF#000000##FFFFFF
##8220781.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437A
Deuteranopia (green-blind)
#405076
Tritanopia (blue-blind)
#882B4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #822078;
/* rgb */ color: rgb(130, 32, 120);
/* oklch */ color: oklch(43.7% 0.165 332.6);
Tailwind
colors: {
  custom: {
    50: '#aa669f',
    500: '#822078',
    950: '#000000',
  },
}
SCSS
$custom: #822078;
$custom-light: #aa669f;
$custom-dark: #000000;
JSON
{
  "hex": "#822078",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 306.122,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43661,
    "c": 0.16526,
    "h": 332.6
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#822078
secondary
#49B554
accent
#E45444
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822078

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

Preview Lab → · Contrast checker → · Palette generator →

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