#7C3AC2#7C3AC2

#7C3AC2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.201 H 301.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7C3AC2
RGBrgb(124, 58, 194)
HSLhsl(269, 54%, 49%)
HSVhsv(269, 70%, 76%)
CMYKcmyk(36.1%, 70.1%, 0%, 23.9%)
CIE-LABlab(39.93, 54.14, -60.07)
CIE-LCHlch(39.93, 80.87, 312.03°)
OKLaboklab(50.61% 0.1058 -0.1711)
OKLCHoklch(50.61% 0.201 301.7)
XYZxyz(19.5605, 11.2062, 52.1610)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AC2 #80C23A
analogous
#3A3CC2 #7C3AC2 #C03AC2
triadic
#7C3AC2 #C27C3A #3AC27C
tetradic
#7C3AC2 #C23A3C #80C23A #3AC2C0
square
#7C3AC2 #C23A3C #80C23A #3AC2C0
split-complementary
#7C3AC2 #C2C03A #3CC23A
monochromatic
#401E64 #5E2C93 #7C3AC2 #9B67D2 #BA97E0

Accessibility & contrast

On white

6.48
#7C3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7C3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AC2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AC2#FFFFFF#000000##FFFFFF
##7C3AC21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#6D5A7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3ac2;
/* rgb */ color: rgb(124, 58, 194);
/* oklch */ color: oklch(50.6% 0.201 301.7);
Tailwind
colors: {
  custom: {
    50: '#a775d5',
    500: '#7c3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ac2;
$custom-light: #a775d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ac2",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 269.118,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.2012,
    "h": 301.7
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#7C3AC2
secondary
#ADCB8D
accent
#DD4A96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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