#822D89#822D89

#822D89 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.163 H 324.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#822D89
RGBrgb(130, 45, 137)
HSLhsl(295, 51%, 36%)
HSVhsv(295, 67%, 54%)
CMYKcmyk(5.1%, 67.2%, 0%, 46.3%)
CIE-LABlab(34.86, 48.91, -33.98)
CIE-LCHlch(34.86, 59.55, 325.21°)
OKLaboklab(45.95% 0.133 -0.0944)
OKLCHoklch(45.95% 0.163 324.6)
XYZxyz(14.6593, 8.4296, 24.5170)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D89 #34892D
analogous
#542D89 #822D89 #892D62
triadic
#822D89 #89822D #2D8982
tetradic
#822D89 #89542D #34892D #2D6289
square
#822D89 #89542D #34892D #2D6289
split-complementary
#822D89 #62892D #2D8954
monochromatic
#2B0F2D #561E5B #822D89 #AE3CB7 #C464CC

Accessibility & contrast

On white

7.82
#822D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#822D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D89
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D89#FFFFFF#000000##FFFFFF
##822D891.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#853B57
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822d89;
/* rgb */ color: rgb(130, 45, 137);
/* oklch */ color: oklch(45.9% 0.163 324.6);
Tailwind
colors: {
  custom: {
    50: '#a96dac',
    500: '#822d89',
    950: '#000000',
  },
}
SCSS
$custom: #822d89;
$custom-light: #a96dac;
$custom-dark: #000000;
JSON
{
  "hex": "#822d89",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 295.435,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.16304,
    "h": 324.6
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#822D89
secondary
#65B35F
accent
#DA4E58
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822D89

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

Preview Lab → · Contrast checker → · Palette generator →

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