#7A3FA4#7A3FA4

#7A3FA4 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.161 H 308.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7A3FA4
RGBrgb(122, 63, 164)
HSLhsl(275, 44%, 45%)
HSVhsv(275, 62%, 64%)
CMYKcmyk(25.6%, 61.6%, 0%, 35.7%)
CIE-LABlab(38.50, 44.01, -44.64)
CIE-LCHlch(38.50, 62.69, 314.59°)
OKLaboklab(48.88% 0.1002 -0.1259)
OKLCHoklch(48.88% 0.161 308.5)
XYZxyz(16.5030, 10.3732, 36.2476)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FA4 #69A43F
analogous
#483FA4 #7A3FA4 #A43F9B
triadic
#7A3FA4 #A47A3F #3FA47A
tetradic
#7A3FA4 #A4483F #69A43F #3F9BA4
square
#7A3FA4 #A4483F #69A43F #3F9BA4
split-complementary
#7A3FA4 #9BA43F #3FA448
monochromatic
#381D4C #592E78 #7A3FA4 #985FC1 #B58BD2

Accessibility & contrast

On white

6.83
#7A3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7A3FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FA4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FA4#FFFFFF#000000##FFFFFF
##7A3FA41.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#305BA2
Tritanopia (blue-blind)
#74536B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3fa4;
/* rgb */ color: rgb(122, 63, 164);
/* oklch */ color: oklch(48.9% 0.161 308.5);
Tailwind
colors: {
  custom: {
    50: '#a477bf',
    500: '#7a3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fa4;
$custom-light: #a477bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fa4",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 275.05,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48876,
    "c": 0.1609,
    "h": 308.5
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#7A3FA4
secondary
#9ABD82
accent
#D45489
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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