#7A3FAC#7A3FAC

#7A3FAC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.170 H 306.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7A3FAC
RGBrgb(122, 63, 172)
HSLhsl(272, 46%, 46%)
HSVhsv(272, 63%, 67%)
CMYKcmyk(29.1%, 63.4%, 0%, 32.5%)
CIE-LABlab(39.02, 45.92, -48.58)
CIE-LCHlch(39.02, 66.85, 313.39°)
OKLaboklab(49.42% 0.0999 -0.1374)
OKLCHoklch(49.42% 0.17 306)
XYZxyz(17.2483, 10.6713, 40.1728)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FAC #71AC3F
analogous
#433FAC #7A3FAC #AC3FA7
triadic
#7A3FAC #AC7A3F #3FAC7A
tetradic
#7A3FAC #AC433F #71AC3F #3FA7AC
square
#7A3FAC #AC433F #71AC3F #3FA7AC
split-complementary
#7A3FAC #A7AC3F #3FAC43
monochromatic
#3A1E52 #5A2F7F #7A3FAC #9863C6 #B68FD6

Accessibility & contrast

On white

6.70
#7A3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7A3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FAC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FAC#FFFFFF#000000##FFFFFF
##7A3FAC1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#725570
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3fac;
/* rgb */ color: rgb(122, 63, 172);
/* oklch */ color: oklch(49.4% 0.170 306.0);
Tailwind
colors: {
  custom: {
    50: '#a477c5',
    500: '#7a3fac',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fac;
$custom-light: #a477c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fac",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 272.477,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.16994,
    "h": 306
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

primary
#7A3FAC
secondary
#A1C186
accent
#D6528E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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