#7822A0#7822A0

#7822A0 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.193 H 312.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7822A0
RGBrgb(120, 34, 160)
HSLhsl(281, 65%, 38%)
HSVhsv(281, 79%, 63%)
CMYKcmyk(25%, 78.8%, 0%, 37.3%)
CIE-LABlab(33.30, 55.66, -50.64)
CIE-LCHlch(33.30, 75.25, 317.71°)
OKLaboklab(45.01% 0.1294 -0.1434)
OKLCHoklch(45.01% 0.193 312.1)
XYZxyz(14.6617, 7.6756, 33.9601)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822A0 #4AA022
analogous
#3922A0 #7822A0 #A02289
triadic
#7822A0 #A07822 #22A078
tetradic
#7822A0 #A03922 #4AA022 #2289A0
square
#7822A0 #A03922 #4AA022 #2289A0
split-complementary
#7822A0 #89A022 #22A039
monochromatic
#2C0D3B #52176E #7822A0 #9E2DD2 #B55FDD

Accessibility & contrast

On white

8.28
#7822A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7822A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822A0
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822A0#FFFFFF#000000##FFFFFF
##7822A01.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#09509D
Tritanopia (blue-blind)
#734061
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7822a0;
/* rgb */ color: rgb(120, 34, 160);
/* oklch */ color: oklch(45.0% 0.193 312.1);
Tailwind
colors: {
  custom: {
    50: '#a368bd',
    500: '#7822a0',
    950: '#000000',
  },
}
SCSS
$custom: #7822a0;
$custom-light: #a368bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7822a0",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 280.952,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.19315,
    "h": 312.1
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#7822A0
secondary
#7CC25C
accent
#E84075
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7822A0

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

Preview Lab → · Contrast checker → · Palette generator →

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