#7822A9#7822A9

#7822A9 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.201 H 309.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7822A9
RGBrgb(120, 34, 169)
HSLhsl(278, 67%, 40%)
HSVhsv(278, 80%, 66%)
CMYKcmyk(29%, 79.9%, 0%, 33.7%)
CIE-LABlab(33.99, 57.58, -54.94)
CIE-LCHlch(33.99, 79.59, 316.34°)
OKLaboklab(45.7% 0.1275 -0.156)
OKLCHoklch(45.7% 0.201 309.2)
XYZxyz(15.4777, 8.0020, 38.2576)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822A9 #53A922
analogous
#3422A9 #7822A9 #A92297
triadic
#7822A9 #A97822 #22A978
tetradic
#7822A9 #A93422 #53A922 #2297A9
square
#7822A9 #A93422 #53A922 #2297A9
split-complementary
#7822A9 #97A922 #22A934
monochromatic
#300D43 #541876 #7822A9 #9A32D6 #B465E0

Accessibility & contrast

On white

8.08
#7822A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7822A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822A9
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822A9#FFFFFF#000000##FFFFFF
##7822A91.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#714566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7822a9;
/* rgb */ color: rgb(120, 34, 169);
/* oklch */ color: oklch(45.7% 0.201 309.2);
Tailwind
colors: {
  custom: {
    50: '#a468c3',
    500: '#7822a9',
    950: '#000000',
  },
}
SCSS
$custom: #7822a9;
$custom-light: #a468c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7822a9",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 278.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45704,
    "c": 0.20147,
    "h": 309.2
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#7822A9
secondary
#86C561
accent
#E93E7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7822A9

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

Preview Lab → · Contrast checker → · Palette generator →

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