#822A7D#822A7D

#822A7D is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.157 H 330.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#822A7D
RGBrgb(130, 42, 125)
HSLhsl(303, 51%, 34%)
HSVhsv(303, 68%, 51%)
CMYKcmyk(0%, 67.7%, 3.8%, 49%)
CIE-LABlab(33.74, 47.99, -28.30)
CIE-LCHlch(33.74, 55.72, 329.47°)
OKLaboklab(44.92% 0.1359 -0.0779)
OKLCHoklch(44.92% 0.157 330.2)
XYZxyz(13.7355, 7.8834, 20.1963)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822A7D #2A822F
analogous
#5B2A82 #822A7D #822A51
triadic
#822A7D #7D822A #2A7D82
tetradic
#822A7D #825B2A #2A822F #2A5182
square
#822A7D #825B2A #2A822F #2A5182
split-complementary
#822A7D #51822A #2A825B
monochromatic
#250C24 #541B51 #822A7D #B039A9 #CA5CC4

Accessibility & contrast

On white

8.15
#822A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#822A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822A7D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822A7D#FFFFFF#000000##FFFFFF
##822A7D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22487F
Deuteranopia (green-blind)
#42547B
Tritanopia (blue-blind)
#873450
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #822a7d;
/* rgb */ color: rgb(130, 42, 125);
/* oklch */ color: oklch(44.9% 0.157 330.2);
Tailwind
colors: {
  custom: {
    50: '#a96ba3',
    500: '#822a7d',
    950: '#000000',
  },
}
SCSS
$custom: #822a7d;
$custom-light: #a96ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#822a7d",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 303.409,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44921,
    "c": 0.15668,
    "h": 330.2
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#822A7D
secondary
#58B05D
accent
#DB554D
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #822A7D

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

Preview Lab → · Contrast checker → · Palette generator →

#822A7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva