#822E9D#822E9D

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

Color values

HEX#822E9D
RGBrgb(130, 46, 157)
HSLhsl(285, 55%, 40%)
HSVhsv(285, 71%, 62%)
CMYKcmyk(17.2%, 70.7%, 0%, 38.4%)
CIE-LABlab(36.24, 52.43, -43.99)
CIE-LCHlch(36.24, 68.44, 320.00°)
OKLaboklab(47.34% 0.1312 -0.1236)
OKLCHoklch(47.34% 0.18 316.7)
XYZxyz(16.2678, 9.1348, 32.7980)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822E9D #499D2E
analogous
#4A2E9D #822E9D #9D2E81
triadic
#822E9D #9D822E #2E9D82
tetradic
#822E9D #9D4A2E #499D2E #2E819D
square
#822E9D #9D4A2E #499D2E #2E819D
split-complementary
#822E9D #819D2E #2E9D4A
monochromatic
#34123E #5B206E #822E9D #A741C7 #BD70D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822E9D#FFFFFF#000000##FFFFFF
##822E9D1.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)
#0050A0
Deuteranopia (green-blind)
#2F589A
Tritanopia (blue-blind)
#814462
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #822e9d;
/* rgb */ color: rgb(130, 46, 157);
/* oklch */ color: oklch(47.3% 0.180 316.7);
Tailwind
colors: {
  custom: {
    50: '#aa6eba',
    500: '#822e9d',
    950: '#000000',
  },
}
SCSS
$custom: #822e9d;
$custom-light: #aa6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#822e9d",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 285.405,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.18029,
    "h": 316.7
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#822E9D
secondary
#7EBD6A
accent
#DE4A6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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