#7A3CA5#7A3CA5

#7A3CA5 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.166 H 308.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7A3CA5
RGBrgb(122, 60, 165)
HSLhsl(275, 47%, 44%)
HSVhsv(275, 64%, 65%)
CMYKcmyk(26.1%, 63.6%, 0%, 35.3%)
CIE-LABlab(38.00, 45.80, -46.05)
CIE-LCHlch(38.00, 64.95, 314.84°)
OKLaboklab(48.53% 0.1039 -0.13)
OKLCHoklch(48.53% 0.166 308.6)
XYZxyz(16.4321, 10.0862, 36.6712)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CA5 #67A53C
analogous
#463CA5 #7A3CA5 #A53C9C
triadic
#7A3CA5 #A57A3C #3CA57A
tetradic
#7A3CA5 #A5463C #67A53C #3C9CA5
square
#7A3CA5 #A5463C #67A53C #3C9CA5
split-complementary
#7A3CA5 #9CA53C #3CA546
monochromatic
#381B4B #592C78 #7A3CA5 #995BC3 #B588D4

Accessibility & contrast

On white

6.96
#7A3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7A3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CA5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CA5#FFFFFF#000000##FFFFFF
##7A3CA51.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#2B5AA3
Tritanopia (blue-blind)
#74516B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a3ca5;
/* rgb */ color: rgb(122, 60, 165);
/* oklch */ color: oklch(48.5% 0.166 308.6);
Tailwind
colors: {
  custom: {
    50: '#a475c0',
    500: '#7a3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ca5;
$custom-light: #a475c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ca5",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 275.429,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.16645,
    "h": 308.6
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#7A3CA5
secondary
#99BE7F
accent
#D65188
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7A3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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