#822CA4#822CA4

#822CA4 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.189 H 314.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#822CA4
RGBrgb(130, 44, 164)
HSLhsl(283, 58%, 41%)
HSVhsv(283, 73%, 64%)
CMYKcmyk(20.7%, 73.2%, 0%, 35.7%)
CIE-LABlab(36.42, 54.69, -47.93)
CIE-LCHlch(36.42, 72.72, 318.77°)
OKLaboklab(47.61% 0.1326 -0.1352)
OKLCHoklch(47.61% 0.189 314.5)
XYZxyz(16.8063, 9.2281, 36.0107)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CA4 #4EA42C
analogous
#462CA4 #822CA4 #A42C8A
triadic
#822CA4 #A4822C #2CA482
tetradic
#822CA4 #A4462C #4EA42C #2C8AA4
square
#822CA4 #A4462C #4EA42C #2C8AA4
split-complementary
#822CA4 #8AA42C #2CA446
monochromatic
#351243 #5C1F74 #822CA4 #A541CC #BC71D9

Accessibility & contrast

On white

7.38
#822CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#822CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CA4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CA4#FFFFFF#000000##FFFFFF
##822CA41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#2658A1
Tritanopia (blue-blind)
#7F4665
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822ca4;
/* rgb */ color: rgb(130, 44, 164);
/* oklch */ color: oklch(47.6% 0.189 314.5);
Tailwind
colors: {
  custom: {
    50: '#aa6ec0',
    500: '#822ca4',
    950: '#000000',
  },
}
SCSS
$custom: #822ca4;
$custom-light: #aa6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#822ca4",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 283,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.18935,
    "h": 314.5
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#822CA4
secondary
#84C06B
accent
#E14773
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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