#822CA0#822CA0

#822CA0 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.186 H 315.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#822CA0
RGBrgb(130, 44, 160)
HSLhsl(284, 57%, 40%)
HSVhsv(284, 73%, 63%)
CMYKcmyk(18.8%, 72.5%, 0%, 37.3%)
CIE-LABlab(36.15, 53.87, -45.96)
CIE-LCHlch(36.15, 70.81, 319.53°)
OKLaboklab(47.33% 0.1331 -0.1294)
OKLCHoklch(47.33% 0.186 315.8)
XYZxyz(16.4508, 9.0859, 34.1381)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CA0 #4AA02C
analogous
#482CA0 #822CA0 #A02C84
triadic
#822CA0 #A0822C #2CA082
tetradic
#822CA0 #A0482C #4AA02C #2C84A0
square
#822CA0 #A0482C #4AA02C #2C84A0
split-complementary
#822CA0 #84A02C #2CA048
monochromatic
#341240 #5B1F70 #822CA0 #A63FCA #BC6FD7

Accessibility & contrast

On white

7.45
#822CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#822CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CA0
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CA0#FFFFFF#000000##FFFFFF
##822CA01.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#804463
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #822ca0;
/* rgb */ color: rgb(130, 44, 160);
/* oklch */ color: oklch(47.3% 0.186 315.8);
Tailwind
colors: {
  custom: {
    50: '#aa6dbd',
    500: '#822ca0',
    950: '#000000',
  },
}
SCSS
$custom: #822ca0;
$custom-light: #aa6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#822ca0",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 284.483,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.47332,
    "c": 0.18558,
    "h": 315.8
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#822CA0
secondary
#7FBF69
accent
#E0486F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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