#7A22A0#7A22A0

#7A22A0 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.194 H 313.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7A22A0
RGBrgb(122, 34, 160)
HSLhsl(282, 65%, 38%)
HSVhsv(282, 79%, 63%)
CMYKcmyk(23.7%, 78.8%, 0%, 37.3%)
CIE-LABlab(33.61, 56.04, -50.12)
CIE-LCHlch(33.61, 75.18, 318.19°)
OKLaboklab(45.28% 0.1321 -0.1418)
OKLCHoklch(45.28% 0.194 313)
XYZxyz(14.9421, 7.8202, 33.9732)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A22A0 #48A022
analogous
#3B22A0 #7A22A0 #A02287
triadic
#7A22A0 #A07A22 #22A07A
tetradic
#7A22A0 #A03B22 #48A022 #2287A0
square
#7A22A0 #A03B22 #48A022 #2287A0
split-complementary
#7A22A0 #87A022 #22A03B
monochromatic
#2D0D3B #54176E #7A22A0 #A02DD2 #B75FDD

Accessibility & contrast

On white

8.19
#7A22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7A22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A22A0
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A22A0#FFFFFF#000000##FFFFFF
##7A22A01.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#10519D
Tritanopia (blue-blind)
#764061
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a22a0;
/* rgb */ color: rgb(122, 34, 160);
/* oklch */ color: oklch(45.3% 0.194 313.0);
Tailwind
colors: {
  custom: {
    50: '#a568bd',
    500: '#7a22a0',
    950: '#000000',
  },
}
SCSS
$custom: #7a22a0;
$custom-light: #a568bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a22a0",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 281.905,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45283,
    "c": 0.1938,
    "h": 313
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#7A22A0
secondary
#7BC25C
accent
#E84073
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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