#822FA8#822FA8

#822FA8 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.190 H 312.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#822FA8
RGBrgb(130, 47, 168)
HSLhsl(281, 56%, 42%)
HSVhsv(281, 72%, 66%)
CMYKcmyk(22.6%, 72%, 0%, 34.1%)
CIE-LABlab(37.13, 54.31, -49.19)
CIE-LCHlch(37.13, 73.27, 317.83°)
OKLaboklab(48.2% 0.1291 -0.1389)
OKLCHoklch(48.2% 0.19 312.9)
XYZxyz(17.2891, 9.6065, 37.9817)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FA8 #55A82F
analogous
#462FA8 #822FA8 #A82F92
triadic
#822FA8 #A8822F #2FA882
tetradic
#822FA8 #A8462F #55A82F #2F92A8
square
#822FA8 #A8462F #55A82F #2F92A8
split-complementary
#822FA8 #92A82F #2FA846
monochromatic
#381448 #5D2278 #822FA8 #A348CC #BB78D9

Accessibility & contrast

On white

7.19
#822FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#822FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822FA8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FA8#FFFFFF#000000##FFFFFF
##822FA81.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822fa8;
/* rgb */ color: rgb(130, 47, 168);
/* oklch */ color: oklch(48.2% 0.190 312.9);
Tailwind
colors: {
  custom: {
    50: '#aa6fc3',
    500: '#822fa8',
    950: '#000000',
  },
}
SCSS
$custom: #822fa8;
$custom-light: #aa6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#822fa8",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 281.157,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48201,
    "c": 0.18959,
    "h": 312.9
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#822FA8
secondary
#8BC171
accent
#E04878
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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