#7822A5#7822A5

#7822A5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.198 H 310.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7822A5
RGBrgb(120, 34, 165)
HSLhsl(279, 66%, 39%)
HSVhsv(279, 79%, 65%)
CMYKcmyk(27.3%, 79.4%, 0%, 35.3%)
CIE-LABlab(33.68, 56.72, -53.04)
CIE-LCHlch(33.68, 77.66, 316.92°)
OKLaboklab(45.39% 0.1284 -0.1504)
OKLCHoklch(45.39% 0.198 310.5)
XYZxyz(15.1080, 7.8541, 36.3101)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822A5 #4FA522
analogous
#3622A5 #7822A5 #A52291
triadic
#7822A5 #A57822 #22A578
tetradic
#7822A5 #A53622 #4FA522 #2291A5
square
#7822A5 #A53622 #4FA522 #2291A5
split-complementary
#7822A5 #91A522 #22A536
monochromatic
#2E0D40 #531872 #7822A5 #9C30D4 #B463DF

Accessibility & contrast

On white

8.17
#7822A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7822A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822A5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822A5#FFFFFF#000000##FFFFFF
##7822A51.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#724364
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7822a5;
/* rgb */ color: rgb(120, 34, 165);
/* oklch */ color: oklch(45.4% 0.198 310.5);
Tailwind
colors: {
  custom: {
    50: '#a468c1',
    500: '#7822a5',
    950: '#000000',
  },
}
SCSS
$custom: #7822a5;
$custom-light: #a468c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7822a5",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 279.389,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4539,
    "c": 0.19777,
    "h": 310.5
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#7822A5
secondary
#82C45F
accent
#E93F79
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7822A5

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

Preview Lab → · Contrast checker → · Palette generator →

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