#7A3AC4#7A3AC4

#7A3AC4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.203 H 300.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7A3AC4
RGBrgb(122, 58, 196)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 77%)
CMYKcmyk(37.8%, 70.4%, 0%, 23.1%)
CIE-LABlab(39.83, 54.25, -61.40)
CIE-LCHlch(39.83, 81.93, 311.46°)
OKLaboklab(50.54% 0.1027 -0.1751)
OKLCHoklch(50.54% 0.203 300.4)
XYZxyz(19.5004, 11.1490, 53.3385)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3AC4 #84C43A
analogous
#3A3FC4 #7A3AC4 #BF3AC4
triadic
#7A3AC4 #C47A3A #3AC47A
tetradic
#7A3AC4 #C43A3F #84C43A #3AC4BF
square
#7A3AC4 #C43A3F #84C43A #3AC4BF
split-complementary
#7A3AC4 #C4BF3A #3FC43A
monochromatic
#3F1E66 #5D2C95 #7A3AC4 #9A69D3 #BA98E0

Accessibility & contrast

On white

6.50
#7A3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7A3AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3AC4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3AC4#FFFFFF#000000##FFFFFF
##7A3AC41.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#695B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3ac4;
/* rgb */ color: rgb(122, 58, 196);
/* oklch */ color: oklch(50.5% 0.203 300.4);
Tailwind
colors: {
  custom: {
    50: '#a675d7',
    500: '#7a3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ac4;
$custom-light: #a675d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ac4",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 267.826,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.203,
    "h": 300.4
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#7A3AC4
secondary
#AFCC8E
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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