#7A3CAA#7A3CAA

#7A3CAA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.172 H 307.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7A3CAA
RGBrgb(122, 60, 170)
HSLhsl(274, 48%, 45%)
HSVhsv(274, 65%, 67%)
CMYKcmyk(28.2%, 64.7%, 0%, 33.3%)
CIE-LABlab(38.33, 46.97, -48.51)
CIE-LCHlch(38.33, 67.53, 314.08°)
OKLaboklab(48.87% 0.1037 -0.1372)
OKLCHoklch(48.87% 0.172 307.1)
XYZxyz(16.8961, 10.2718, 39.1150)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CAA #6CAA3C
analogous
#433CAA #7A3CAA #AA3CA3
triadic
#7A3CAA #AA7A3C #3CAA7A
tetradic
#7A3CAA #AA433C #6CAA3C #3CA3AA
square
#7A3CAA #AA433C #6CAA3C #3CA3AA
split-complementary
#7A3CAA #A3AA3C #3CAA43
monochromatic
#391C50 #5A2C7D #7A3CAA #985DC6 #B58BD6

Accessibility & contrast

On white

6.88
#7A3CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7A3CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CAA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CAA#FFFFFF#000000##FFFFFF
##7A3CAA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#72536D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a3caa;
/* rgb */ color: rgb(122, 60, 170);
/* oklch */ color: oklch(48.9% 0.172 307.1);
Tailwind
colors: {
  custom: {
    50: '#a476c4',
    500: '#7a3caa',
    950: '#000000',
  },
}
SCSS
$custom: #7a3caa;
$custom-light: #a476c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3caa",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 273.818,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.17198,
    "h": 307.1
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#7A3CAA
secondary
#9DC081
accent
#D7508B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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