#822EA7#822EA7

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

Color values

HEX#822EA7
RGBrgb(130, 46, 167)
HSLhsl(282, 57%, 42%)
HSVhsv(282, 72%, 65%)
CMYKcmyk(22.2%, 72.5%, 0%, 34.5%)
CIE-LABlab(36.91, 54.51, -48.94)
CIE-LCHlch(36.91, 73.25, 318.08°)
OKLaboklab(48.03% 0.1302 -0.1381)
OKLCHoklch(48.03% 0.19 313.3)
XYZxyz(17.1567, 9.4904, 37.4798)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EA7 #53A72E
analogous
#462EA7 #822EA7 #A72E90
triadic
#822EA7 #A7822E #2EA782
tetradic
#822EA7 #A7462E #53A72E #2E90A7
square
#822EA7 #A7462E #53A72E #2E90A7
split-complementary
#822EA7 #90A72E #2EA746
monochromatic
#371447 #5D2177 #822EA7 #A346CC #BB76D9

Accessibility & contrast

On white

7.25
#822EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#822EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822EA7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EA7#FFFFFF#000000##FFFFFF
##822EA71.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#2459A4
Tritanopia (blue-blind)
#7E4868
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822ea7;
/* rgb */ color: rgb(130, 46, 167);
/* oklch */ color: oklch(48.0% 0.190 313.3);
Tailwind
colors: {
  custom: {
    50: '#aa6fc2',
    500: '#822ea7',
    950: '#000000',
  },
}
SCSS
$custom: #822ea7;
$custom-light: #aa6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#822ea7",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 281.653,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.18983,
    "h": 313.3
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#822EA7
secondary
#89C170
accent
#E04876
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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