#7A20A0#7A20A0

#7A20A0 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.196 H 313.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7A20A0
RGBrgb(122, 32, 160)
HSLhsl(282, 67%, 38%)
HSVhsv(282, 80%, 63%)
CMYKcmyk(23.7%, 80%, 0%, 37.3%)
CIE-LABlab(33.37, 56.72, -50.51)
CIE-LCHlch(33.37, 75.95, 318.32°)
OKLaboklab(45.12% 0.1338 -0.1429)
OKLCHoklch(45.12% 0.196 313.1)
XYZxyz(14.8866, 7.7091, 33.9547)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A20A0 #46A020
analogous
#3A20A0 #7A20A0 #A02086
triadic
#7A20A0 #A07A20 #20A07A
tetradic
#7A20A0 #A03A20 #46A020 #2086A0
square
#7A20A0 #A03A20 #46A020 #2086A0
split-complementary
#7A20A0 #86A020 #20A03A
monochromatic
#2C0C3A #53166D #7A20A0 #A12AD3 #B85CDE

Accessibility & contrast

On white

8.26
#7A20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7A20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A20A0
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A20A0#FFFFFF#000000##FFFFFF
##7A20A01.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#0C509D
Tritanopia (blue-blind)
#763F60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a20a0;
/* rgb */ color: rgb(122, 32, 160);
/* oklch */ color: oklch(45.1% 0.196 313.1);
Tailwind
colors: {
  custom: {
    50: '#a567bd',
    500: '#7a20a0',
    950: '#000000',
  },
}
SCSS
$custom: #7a20a0;
$custom-light: #a567bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a20a0",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 282.188,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.19574,
    "h": 313.1
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#7A20A0
secondary
#78C359
accent
#EA3E71
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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