#822EA8#822EA8

#822EA8 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.191 H 313.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#822EA8
RGBrgb(130, 46, 168)
HSLhsl(281, 57%, 42%)
HSVhsv(281, 73%, 66%)
CMYKcmyk(22.6%, 72.6%, 0%, 34.1%)
CIE-LABlab(36.98, 54.72, -49.43)
CIE-LCHlch(36.98, 73.74, 317.91°)
OKLaboklab(48.1% 0.1301 -0.1396)
OKLCHoklch(48.1% 0.191 313)
XYZxyz(17.2495, 9.5275, 37.9685)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EA8 #54A82E
analogous
#452EA8 #822EA8 #A82E91
triadic
#822EA8 #A8822E #2EA882
tetradic
#822EA8 #A8452E #54A82E #2E91A8
square
#822EA8 #A8452E #54A82E #2E91A8
split-complementary
#822EA8 #91A82E #2EA845
monochromatic
#381448 #5D2178 #822EA8 #A347CD #BB77DA

Accessibility & contrast

On white

7.23
#822EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#822EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822EA8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EA8#FFFFFF#000000##FFFFFF
##822EA81.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#2259A5
Tritanopia (blue-blind)
#7E4968
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822ea8;
/* rgb */ color: rgb(130, 46, 168);
/* oklch */ color: oklch(48.1% 0.191 313.0);
Tailwind
colors: {
  custom: {
    50: '#aa6fc3',
    500: '#822ea8',
    950: '#000000',
  },
}
SCSS
$custom: #822ea8;
$custom-light: #aa6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#822ea8",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 281.311,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48097,
    "c": 0.19079,
    "h": 313
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#822EA8
secondary
#8AC270
accent
#E04877
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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