#822CA8#822CA8

#822CA8 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.193 H 313.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#822CA8
RGBrgb(130, 44, 168)
HSLhsl(282, 58%, 42%)
HSVhsv(282, 74%, 66%)
CMYKcmyk(22.6%, 73.8%, 0%, 34.1%)
CIE-LABlab(36.70, 55.53, -49.89)
CIE-LCHlch(36.70, 74.64, 318.06°)
OKLaboklab(47.9% 0.1321 -0.1409)
OKLCHoklch(47.9% 0.193 313.1)
XYZxyz(17.1732, 9.3749, 37.9431)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CA8 #52A82C
analogous
#442CA8 #822CA8 #A82C90
triadic
#822CA8 #A8822C #2CA882
tetradic
#822CA8 #A8442C #52A82C #2C90A8
square
#822CA8 #A8442C #52A82C #2C90A8
split-complementary
#822CA8 #90A82C #2CA844
monochromatic
#371347 #5C1F78 #822CA8 #A343CE #BB74DB

Accessibility & contrast

On white

7.30
#822CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#822CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CA8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CA8#FFFFFF#000000##FFFFFF
##822CA81.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#2058A5
Tritanopia (blue-blind)
#7E4768
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822ca8;
/* rgb */ color: rgb(130, 44, 168);
/* oklch */ color: oklch(47.9% 0.193 313.1);
Tailwind
colors: {
  custom: {
    50: '#aa6ec3',
    500: '#822ca8',
    950: '#000000',
  },
}
SCSS
$custom: #822ca8;
$custom-light: #aa6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#822ca8",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 281.613,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.19313,
    "h": 313.1
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#822CA8
secondary
#88C26E
accent
#E24676
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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