#7C3AC7#7C3AC7

#7C3AC7 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.207 H 300.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7C3AC7
RGBrgb(124, 58, 199)
HSLhsl(268, 56%, 50%)
HSVhsv(268, 71%, 78%)
CMYKcmyk(37.7%, 70.9%, 0%, 22%)
CIE-LABlab(40.30, 55.36, -62.37)
CIE-LCHlch(40.30, 83.39, 311.59°)
OKLaboklab(51% 0.105 -0.1779)
OKLCHoklch(51% 0.207 300.5)
XYZxyz(20.1315, 11.4346, 55.1682)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3AC7 #85C73A
analogous
#3A3EC7 #7C3AC7 #C23AC7
triadic
#7C3AC7 #C77C3A #3AC77C
tetradic
#7C3AC7 #C73A3E #85C73A #3AC7C2
square
#7C3AC7 #C73A3E #85C73A #3AC7C2
split-complementary
#7C3AC7 #C7C23A #3EC73A
monochromatic
#411E69 #5E2B98 #7C3AC7 #9C6AD5 #BB99E2

Accessibility & contrast

On white

6.39
#7C3AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7C3AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3AC7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3AC7#FFFFFF#000000##FFFFFF
##7C3AC71.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#6B5C7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3ac7;
/* rgb */ color: rgb(124, 58, 199);
/* oklch */ color: oklch(51.0% 0.207 300.5);
Tailwind
colors: {
  custom: {
    50: '#a876d9',
    500: '#7c3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ac7;
$custom-light: #a876d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ac7",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 268.085,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.20655,
    "h": 300.5
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#7C3AC7
secondary
#B0CE8F
accent
#DF4999
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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