#822784#822784

#822784 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.167 H 327.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#822784
RGBrgb(130, 39, 132)
HSLhsl(299, 54%, 34%)
HSVhsv(299, 70%, 52%)
CMYKcmyk(1.5%, 70.5%, 0%, 48.2%)
CIE-LABlab(33.70, 50.45, -32.73)
CIE-LCHlch(33.70, 60.14, 327.02°)
OKLaboklab(45.02% 0.1397 -0.0907)
OKLCHoklch(45.02% 0.167 327)
XYZxyz(14.0961, 7.8638, 22.6007)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822784 #298427
analogous
#532784 #822784 #842757
triadic
#822784 #848227 #278482
tetradic
#822784 #845327 #298427 #275784
square
#822784 #845327 #298427 #275784
split-complementary
#822784 #578427 #278453
monochromatic
#250B26 #531955 #822784 #B135B3 #CB58CE

Accessibility & contrast

On white

8.16
#822784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#822784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822784
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822784#FFFFFF#000000##FFFFFF
##8227841.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164887
Deuteranopia (green-blind)
#3D5382
Tritanopia (blue-blind)
#863552
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #822784;
/* rgb */ color: rgb(130, 39, 132);
/* oklch */ color: oklch(45.0% 0.167 327.0);
Tailwind
colors: {
  custom: {
    50: '#a96aa8',
    500: '#822784',
    950: '#000000',
  },
}
SCSS
$custom: #822784;
$custom-light: #a96aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#822784",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 298.71,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45017,
    "c": 0.16657,
    "h": 327
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#822784
secondary
#56B254
accent
#DE4A4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #822784

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

Preview Lab → · Contrast checker → · Palette generator →

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