#822778#822778

#822778 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.157 H 332.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#822778
RGBrgb(130, 39, 120)
HSLhsl(307, 54%, 33%)
HSVhsv(307, 70%, 51%)
CMYKcmyk(0%, 70%, 7.7%, 49%)
CIE-LABlab(33.04, 48.36, -26.27)
CIE-LCHlch(33.04, 55.03, 331.49°)
OKLaboklab(44.33% 0.1391 -0.072)
OKLCHoklch(44.33% 0.157 332.6)
XYZxyz(13.3216, 7.5540, 18.5221)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822778 #278231
analogous
#5E2782 #822778 #82274B
triadic
#822778 #788227 #277882
tetradic
#822778 #825E27 #278231 #274B82
square
#822778 #825E27 #278231 #274B82
split-complementary
#822778 #4B8227 #27825E
monochromatic
#240B21 #53194D #822778 #B135A3 #CD57C0

Accessibility & contrast

On white

8.36
#822778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#822778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822778
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822778#FFFFFF#000000##FFFFFF
##8227781.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#435276
Tritanopia (blue-blind)
#88304C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822778;
/* rgb */ color: rgb(130, 39, 120);
/* oklch */ color: oklch(44.3% 0.157 332.6);
Tailwind
colors: {
  custom: {
    50: '#a9699f',
    500: '#822778',
    950: '#000000',
  },
}
SCSS
$custom: #822778;
$custom-light: #a9699f;
$custom-dark: #000000;
JSON
{
  "hex": "#822778",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 306.593,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44326,
    "c": 0.15662,
    "h": 332.6
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#822778
secondary
#53B15E
accent
#DD5B4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #822778

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

Preview Lab → · Contrast checker → · Palette generator →

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