#7822A3#7822A3

#7822A3 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.196 H 311.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7822A3
RGBrgb(120, 34, 163)
HSLhsl(280, 65%, 39%)
HSVhsv(280, 79%, 64%)
CMYKcmyk(26.4%, 79.1%, 0%, 36.1%)
CIE-LABlab(33.52, 56.30, -52.08)
CIE-LCHlch(33.52, 76.70, 317.23°)
OKLaboklab(45.24% 0.1288 -0.1476)
OKLCHoklch(45.24% 0.196 311.1)
XYZxyz(14.9273, 7.7818, 35.3589)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822A3 #4DA322
analogous
#3722A3 #7822A3 #A3228D
triadic
#7822A3 #A37822 #22A378
tetradic
#7822A3 #A33722 #4DA322 #228DA3
square
#7822A3 #A33722 #4DA322 #228DA3
split-complementary
#7822A3 #8DA322 #22A337
monochromatic
#2D0D3E #531770 #7822A3 #9D2FD4 #B561DE

Accessibility & contrast

On white

8.22
#7822A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7822A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822A3
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822A3#FFFFFF#000000##FFFFFF
##7822A31.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#724262
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7822a3;
/* rgb */ color: rgb(120, 34, 163);
/* oklch */ color: oklch(45.2% 0.196 311.1);
Tailwind
colors: {
  custom: {
    50: '#a468bf',
    500: '#7822a3',
    950: '#000000',
  },
}
SCSS
$custom: #7822a3;
$custom-light: #a468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7822a3",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 280,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.19592,
    "h": 311.1
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#7822A3
secondary
#7FC35E
accent
#E83F78
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7822A3

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

Preview Lab → · Contrast checker → · Palette generator →

#7822A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva