#822DA3#822DA3

#822DA3 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.187 H 314.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#822DA3
RGBrgb(130, 45, 163)
HSLhsl(283, 57%, 41%)
HSVhsv(283, 72%, 64%)
CMYKcmyk(20.2%, 72.4%, 0%, 36.1%)
CIE-LABlab(36.49, 54.08, -47.21)
CIE-LCHlch(36.49, 71.79, 318.88°)
OKLaboklab(47.64% 0.1317 -0.133)
OKLCHoklch(47.64% 0.187 314.7)
XYZxyz(16.7541, 9.2675, 35.5495)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DA3 #4EA32D
analogous
#472DA3 #822DA3 #A32D89
triadic
#822DA3 #A3822D #2DA382
tetradic
#822DA3 #A3472D #4EA32D #2D89A3
square
#822DA3 #A3472D #4EA32D #2D89A3
split-complementary
#822DA3 #89A32D #2DA347
monochromatic
#351343 #5C2073 #822DA3 #A542CB #BC72D8

Accessibility & contrast

On white

7.36
#822DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822DA3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DA3#FFFFFF#000000##FFFFFF
##822DA31.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#2858A0
Tritanopia (blue-blind)
#7F4665
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822da3;
/* rgb */ color: rgb(130, 45, 163);
/* oklch */ color: oklch(47.6% 0.187 314.7);
Tailwind
colors: {
  custom: {
    50: '#aa6ebf',
    500: '#822da3',
    950: '#000000',
  },
}
SCSS
$custom: #822da3;
$custom-light: #aa6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#822da3",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 283.22,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.18722,
    "h": 314.7
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#822DA3
secondary
#84C06C
accent
#E04872
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #822DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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