#7A3FA0#7A3FA0

#7A3FA0 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.156 H 309.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7A3FA0
RGBrgb(122, 63, 160)
HSLhsl(276, 43%, 44%)
HSVhsv(276, 61%, 63%)
CMYKcmyk(23.7%, 60.6%, 0%, 37.3%)
CIE-LABlab(38.25, 43.07, -42.64)
CIE-LCHlch(38.25, 60.61, 315.29°)
OKLaboklab(48.61% 0.1002 -0.12)
OKLCHoklch(48.61% 0.156 309.9)
XYZxyz(16.1475, 10.2310, 34.3750)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FA0 #65A03F
analogous
#493FA0 #7A3FA0 #A03F95
triadic
#7A3FA0 #A07A3F #3FA07A
tetradic
#7A3FA0 #A0493F #65A03F #3F95A0
square
#7A3FA0 #A0493F #65A03F #3F95A0
split-complementary
#7A3FA0 #95A03F #3FA049
monochromatic
#371C48 #592E74 #7A3FA0 #995DBF #B489D0

Accessibility & contrast

On white

6.89
#7A3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A3FA0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FA0#FFFFFF#000000##FFFFFF
##7A3FA01.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#345B9E
Tritanopia (blue-blind)
#755169
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a3fa0;
/* rgb */ color: rgb(122, 63, 160);
/* oklch */ color: oklch(48.6% 0.156 309.9);
Tailwind
colors: {
  custom: {
    50: '#a377bd',
    500: '#7a3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fa0;
$custom-light: #a377bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fa0",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 276.495,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48613,
    "c": 0.15638,
    "h": 309.9
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#7A3FA0
secondary
#97BB80
accent
#D35586
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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