#7822AD#7822AD

#7822AD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.205 H 308.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7822AD
RGBrgb(120, 34, 173)
HSLhsl(277, 67%, 41%)
HSVhsv(277, 80%, 68%)
CMYKcmyk(30.6%, 80.3%, 0%, 32.2%)
CIE-LABlab(34.30, 58.44, -56.83)
CIE-LCHlch(34.30, 81.52, 315.80°)
OKLaboklab(46.02% 0.1265 -0.1616)
OKLCHoklch(46.02% 0.205 308.1)
XYZxyz(15.8590, 8.1545, 40.2656)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822AD #57AD22
analogous
#3222AD #7822AD #AD229C
triadic
#7822AD #AD7822 #22AD78
tetradic
#7822AD #AD3222 #57AD22 #229CAD
square
#7822AD #AD3222 #57AD22 #229CAD
split-complementary
#7822AD #9CAD22 #22AD32
monochromatic
#310E47 #55187A #7822AD #9935D7 #B368E1

Accessibility & contrast

On white

7.98
#7822AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7822AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822AD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822AD#FFFFFF#000000##FFFFFF
##7822AD1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#6F4668
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7822ad;
/* rgb */ color: rgb(120, 34, 173);
/* oklch */ color: oklch(46.0% 0.205 308.1);
Tailwind
colors: {
  custom: {
    50: '#a468c6',
    500: '#7822ad',
    950: '#000000',
  },
}
SCSS
$custom: #7822ad;
$custom-light: #a468c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7822ad",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 277.122,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.20518,
    "h": 308.1
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#7822AD
secondary
#8AC764
accent
#EA3E7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7822AD

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

Preview Lab → · Contrast checker → · Palette generator →

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