#7A3CAE#7A3CAE

#7A3CAE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.176 H 305.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7A3CAE
RGBrgb(122, 60, 174)
HSLhsl(273, 49%, 46%)
HSVhsv(273, 66%, 68%)
CMYKcmyk(29.9%, 65.5%, 0%, 31.8%)
CIE-LABlab(38.60, 47.93, -50.46)
CIE-LCHlch(38.60, 69.59, 313.53°)
OKLaboklab(49.15% 0.1034 -0.1429)
OKLCHoklch(49.15% 0.176 305.9)
XYZxyz(17.2802, 10.4254, 41.1382)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CAE #70AE3C
analogous
#413CAE #7A3CAE #AE3CA9
triadic
#7A3CAE #AE7A3C #3CAE7A
tetradic
#7A3CAE #AE413C #70AE3C #3CA9AE
square
#7A3CAE #AE413C #70AE3C #3CA9AE
split-complementary
#7A3CAE #A9AE3C #3CAE41
monochromatic
#3A1D53 #5A2C80 #7A3CAE #985FC8 #B58DD8

Accessibility & contrast

On white

6.81
#7A3CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7A3CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CAE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CAE#FFFFFF#000000##FFFFFF
##7A3CAE1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#1F5BAB
Tritanopia (blue-blind)
#715470
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3cae;
/* rgb */ color: rgb(122, 60, 174);
/* oklch */ color: oklch(49.2% 0.176 305.9);
Tailwind
colors: {
  custom: {
    50: '#a476c7',
    500: '#7a3cae',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cae;
$custom-light: #a476c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cae",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 272.632,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.17641,
    "h": 305.9
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#7A3CAE
secondary
#A0C283
accent
#D8508E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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