#822FA5#822FA5

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

Color values

HEX#822FA5
RGBrgb(130, 47, 165)
HSLhsl(282, 56%, 42%)
HSVhsv(282, 72%, 65%)
CMYKcmyk(21.2%, 71.5%, 0%, 35.3%)
CIE-LABlab(36.92, 53.67, -47.72)
CIE-LCHlch(36.92, 71.82, 318.36°)
OKLaboklab(47.99% 0.1294 -0.1346)
OKLCHoklch(47.99% 0.187 313.9)
XYZxyz(17.0128, 9.4960, 36.5267)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FA5 #52A52F
analogous
#472FA5 #822FA5 #A52F8D
triadic
#822FA5 #A5822F #2FA582
tetradic
#822FA5 #A5472F #52A52F #2F8DA5
square
#822FA5 #A5472F #52A52F #2F8DA5
split-complementary
#822FA5 #8DA52F #2FA547
monochromatic
#371446 #5C2175 #822FA5 #A347CB #BB76D8

Accessibility & contrast

On white

7.24
#822FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822FA5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FA5#FFFFFF#000000##FFFFFF
##822FA51.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2759A2
Tritanopia (blue-blind)
#7F4867
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822fa5;
/* rgb */ color: rgb(130, 47, 165);
/* oklch */ color: oklch(48.0% 0.187 313.9);
Tailwind
colors: {
  custom: {
    50: '#aa6fc0',
    500: '#822fa5',
    950: '#000000',
  },
}
SCSS
$custom: #822fa5;
$custom-light: #aa6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#822fa5",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 282.203,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.1867,
    "h": 313.9
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#822FA5
secondary
#88C070
accent
#DF4975
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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