#822774#822774

#822774 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.153 H 334.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#822774
RGBrgb(130, 39, 116)
HSLhsl(309, 54%, 33%)
HSVhsv(309, 70%, 51%)
CMYKcmyk(0%, 70%, 10.8%, 49%)
CIE-LABlab(32.83, 47.70, -24.07)
CIE-LCHlch(32.83, 53.43, 333.22°)
OKLaboklab(44.11% 0.1387 -0.0657)
OKLCHoklch(44.11% 0.153 334.6)
XYZxyz(13.0839, 7.4589, 17.2702)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822774 #278235
analogous
#622782 #822774 #822746
triadic
#822774 #748227 #277482
tetradic
#822774 #826227 #278235 #274682
square
#822774 #826227 #278235 #274682
split-complementary
#822774 #468227 #278262
monochromatic
#240B20 #53194A #822774 #B1359E #CD57BA

Accessibility & contrast

On white

8.43
#822774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#822774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822774
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822774#FFFFFF#000000##FFFFFF
##8227741.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264576
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#882E4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #822774;
/* rgb */ color: rgb(130, 39, 116);
/* oklch */ color: oklch(44.1% 0.153 334.6);
Tailwind
colors: {
  custom: {
    50: '#a9699c',
    500: '#822774',
    950: '#000000',
  },
}
SCSS
$custom: #822774;
$custom-light: #a9699c;
$custom-dark: #000000;
JSON
{
  "hex": "#822774",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 309.231,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44109,
    "c": 0.15345,
    "h": 334.6
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#822774
secondary
#53B162
accent
#DD614B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #822774

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

Preview Lab → · Contrast checker → · Palette generator →

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