#7822A7#7822A7

#7822A7 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.200 H 309.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7822A7
RGBrgb(120, 34, 167)
HSLhsl(279, 66%, 39%)
HSVhsv(279, 80%, 65%)
CMYKcmyk(28.1%, 79.6%, 0%, 34.5%)
CIE-LABlab(33.83, 57.15, -54.00)
CIE-LCHlch(33.83, 78.62, 316.63°)
OKLaboklab(45.55% 0.1279 -0.1532)
OKLCHoklch(45.55% 0.2 309.9)
XYZxyz(15.2914, 7.9275, 37.2763)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822A7 #51A722
analogous
#3622A7 #7822A7 #A72294
triadic
#7822A7 #A77822 #22A778
tetradic
#7822A7 #A73622 #51A722 #2294A7
square
#7822A7 #A73622 #51A722 #2294A7
split-complementary
#7822A7 #94A722 #22A736
monochromatic
#2F0D41 #531874 #7822A7 #9B31D5 #B464DF

Accessibility & contrast

On white

8.12
#7822A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7822A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822A7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822A7#FFFFFF#000000##FFFFFF
##7822A71.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#714465
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7822a7;
/* rgb */ color: rgb(120, 34, 167);
/* oklch */ color: oklch(45.5% 0.200 309.9);
Tailwind
colors: {
  custom: {
    50: '#a468c2',
    500: '#7822a7',
    950: '#000000',
  },
}
SCSS
$custom: #7822a7;
$custom-light: #a468c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7822a7",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 278.797,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.19962,
    "h": 309.9
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#7822A7
secondary
#84C560
accent
#E93F7B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7822A7

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

Preview Lab → · Contrast checker → · Palette generator →

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