#822EA6#822EA6

#822EA6 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.189 H 313.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#822EA6
RGBrgb(130, 46, 166)
HSLhsl(282, 57%, 42%)
HSVhsv(282, 72%, 65%)
CMYKcmyk(21.7%, 72.3%, 0%, 34.9%)
CIE-LABlab(36.84, 54.30, -48.45)
CIE-LCHlch(36.84, 72.77, 318.26°)
OKLaboklab(47.96% 0.1303 -0.1367)
OKLCHoklch(47.96% 0.189 313.6)
XYZxyz(17.0647, 9.4535, 36.9948)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EA6 #52A62E
analogous
#462EA6 #822EA6 #A62E8E
triadic
#822EA6 #A6822E #2EA682
tetradic
#822EA6 #A6462E #52A62E #2E8EA6
square
#822EA6 #A6462E #52A62E #2E8EA6
split-complementary
#822EA6 #8EA62E #2EA646
monochromatic
#371346 #5C2176 #822EA6 #A346CC #BB76D9

Accessibility & contrast

On white

7.26
#822EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#822EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822EA6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EA6#FFFFFF#000000##FFFFFF
##822EA61.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#2559A3
Tritanopia (blue-blind)
#7E4867
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822ea6;
/* rgb */ color: rgb(130, 46, 166);
/* oklch */ color: oklch(48.0% 0.189 313.6);
Tailwind
colors: {
  custom: {
    50: '#aa6fc1',
    500: '#822ea6',
    950: '#000000',
  },
}
SCSS
$custom: #822ea6;
$custom-light: #aa6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#822ea6",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 282,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47956,
    "c": 0.18887,
    "h": 313.6
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#822EA6
secondary
#88C16F
accent
#E04876
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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