#7A20A9#7A20A9

#7A20A9 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.204 H 310.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7A20A9
RGBrgb(122, 32, 169)
HSLhsl(279, 68%, 39%)
HSVhsv(279, 81%, 66%)
CMYKcmyk(27.8%, 81.1%, 0%, 33.7%)
CIE-LABlab(34.06, 58.59, -54.82)
CIE-LCHlch(34.06, 80.24, 316.91°)
OKLaboklab(45.81% 0.1318 -0.1556)
OKLCHoklch(45.81% 0.204 310.3)
XYZxyz(15.7026, 8.0355, 38.2522)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A20A9 #4FA920
analogous
#3620A9 #7A20A9 #A92094
triadic
#7A20A9 #A97A20 #20A97A
tetradic
#7A20A9 #A93620 #4FA920 #2094A9
square
#7A20A9 #A93620 #4FA920 #2094A9
split-complementary
#7A20A9 #94A920 #20A936
monochromatic
#300D42 #551676 #7A20A9 #9E2FD8 #B662E1

Accessibility & contrast

On white

8.06
#7A20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7A20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A20A9
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A20A9#FFFFFF#000000##FFFFFF
##7A20A91.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a20a9;
/* rgb */ color: rgb(122, 32, 169);
/* oklch */ color: oklch(45.8% 0.204 310.3);
Tailwind
colors: {
  custom: {
    50: '#a668c3',
    500: '#7a20a9',
    950: '#000000',
  },
}
SCSS
$custom: #7a20a9;
$custom-light: #a668c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a20a9",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 279.416,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.20387,
    "h": 310.3
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#7A20A9
secondary
#82C65F
accent
#EB3D79
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A20A9

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

Preview Lab → · Contrast checker → · Palette generator →

#7A20A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva