#7A4AA2#7A4AA2

#7A4AA2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.141 H 307.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7A4AA2
RGBrgb(122, 74, 162)
HSLhsl(273, 37%, 46%)
HSVhsv(273, 54%, 64%)
CMYKcmyk(24.7%, 54.3%, 0%, 36.5%)
CIE-LABlab(40.64, 37.53, -40.03)
CIE-LCHlch(40.64, 54.87, 313.16°)
OKLaboklab(50.41% 0.0855 -0.1124)
OKLCHoklch(50.41% 0.141 307.3)
XYZxyz(16.9951, 11.6440, 35.5276)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4AA2 #72A24A
analogous
#4E4AA2 #7A4AA2 #A24A9E
triadic
#7A4AA2 #A27A4A #4AA27A
tetradic
#7A4AA2 #A24E4A #72A24A #4A9EA2
square
#7A4AA2 #A24E4A #72A24A #4A9EA2
split-complementary
#7A4AA2 #9EA24A #4AA24E
monochromatic
#3B244E #5A3778 #7A4AA2 #986DBC #B697CF

Accessibility & contrast

On white

6.31
#7A4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7A4AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4AA2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4AA2#FFFFFF#000000##FFFFFF
##7A4AA21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#3E60A0
Tritanopia (blue-blind)
#745A6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a4aa2;
/* rgb */ color: rgb(122, 74, 162);
/* oklch */ color: oklch(50.4% 0.141 307.3);
Tailwind
colors: {
  custom: {
    50: '#a37ebe',
    500: '#7a4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #7a4aa2;
$custom-light: #a37ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4aa2",
  "rgb": {
    "r": 122,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 272.727,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.14125,
    "h": 307.3
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#7A4AA2
secondary
#A2BC8C
accent
#CD5B8F
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7A4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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