#7C3AC4#7C3AC4

#7C3AC4 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.203 H 301.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7C3AC4
RGBrgb(124, 58, 196)
HSLhsl(269, 54%, 50%)
HSVhsv(269, 70%, 77%)
CMYKcmyk(36.7%, 70.4%, 0%, 23.1%)
CIE-LABlab(40.08, 54.63, -60.99)
CIE-LCHlch(40.08, 81.88, 311.85°)
OKLaboklab(50.77% 0.1055 -0.1738)
OKLCHoklch(50.77% 0.203 301.3)
XYZxyz(19.7866, 11.2966, 53.3519)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AC4 #82C43A
analogous
#3A3DC4 #7C3AC4 #C13AC4
triadic
#7C3AC4 #C47C3A #3AC47C
tetradic
#7C3AC4 #C43A3D #82C43A #3AC4C1
square
#7C3AC4 #C43A3D #82C43A #3AC4C1
split-complementary
#7C3AC4 #C4C13A #3DC43A
monochromatic
#401E66 #5E2C95 #7C3AC4 #9B69D3 #BB98E0

Accessibility & contrast

On white

6.44
#7C3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7C3AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AC4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AC4#FFFFFF#000000##FFFFFF
##7C3AC41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#6C5B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3ac4;
/* rgb */ color: rgb(124, 58, 196);
/* oklch */ color: oklch(50.8% 0.203 301.3);
Tailwind
colors: {
  custom: {
    50: '#a875d7',
    500: '#7c3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ac4;
$custom-light: #a875d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ac4",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 268.696,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.20334,
    "h": 301.3
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#7C3AC4
secondary
#AECC8E
accent
#DE4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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