#822D9F#822D9F

#822D9F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.183 H 316.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#822D9F
RGBrgb(130, 45, 159)
HSLhsl(285, 56%, 40%)
HSVhsv(285, 72%, 62%)
CMYKcmyk(18.2%, 71.7%, 0%, 37.6%)
CIE-LABlab(36.23, 53.25, -45.23)
CIE-LCHlch(36.23, 69.87, 319.66°)
OKLaboklab(47.37% 0.1321 -0.1272)
OKLCHoklch(47.37% 0.183 316.1)
XYZxyz(16.4013, 9.1264, 33.6918)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D9F #4A9F2D
analogous
#492D9F #822D9F #9F2D83
triadic
#822D9F #9F822D #2D9F82
tetradic
#822D9F #9F492D #4A9F2D #2D839F
square
#822D9F #9F492D #4A9F2D #2D839F
split-complementary
#822D9F #839F2D #2D9F49
monochromatic
#341240 #5B206F #822D9F #A640C9 #BC70D6

Accessibility & contrast

On white

7.43
#822D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#822D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D9F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D9F#FFFFFF#000000##FFFFFF
##822D9F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#2C589C
Tritanopia (blue-blind)
#804463
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #822d9f;
/* rgb */ color: rgb(130, 45, 159);
/* oklch */ color: oklch(47.4% 0.183 316.1);
Tailwind
colors: {
  custom: {
    50: '#aa6ebc',
    500: '#822d9f',
    950: '#000000',
  },
}
SCSS
$custom: #822d9f;
$custom-light: #aa6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#822d9f",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 284.737,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.18343,
    "h": 316.1
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#822D9F
secondary
#7FBE6A
accent
#DF496F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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