#7C3EAE#7C3EAE

#7C3EAE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.174 H 306.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7C3EAE
RGBrgb(124, 62, 174)
HSLhsl(273, 47%, 46%)
HSVhsv(273, 64%, 68%)
CMYKcmyk(28.7%, 64.4%, 0%, 31.8%)
CIE-LABlab(39.22, 47.37, -49.44)
CIE-LCHlch(39.22, 68.47, 313.78°)
OKLaboklab(49.66% 0.1037 -0.1399)
OKLCHoklch(49.66% 0.174 306.6)
XYZxyz(17.6732, 10.7865, 41.1872)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EAE #70AE3E
analogous
#443EAE #7C3EAE #AE3EA8
triadic
#7C3EAE #AE7C3E #3EAE7C
tetradic
#7C3EAE #AE443E #70AE3E #3EA8AE
square
#7C3EAE #AE443E #70AE3E #3EA8AE
split-complementary
#7C3EAE #A8AE3E #3EAE44
monochromatic
#3C1E54 #5C2E81 #7C3EAE #9A62C7 #B78FD7

Accessibility & contrast

On white

6.65
#7C3EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7C3EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EAE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EAE#FFFFFF#000000##FFFFFF
##7C3EAE1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#265DAB
Tritanopia (blue-blind)
#745570
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3eae;
/* rgb */ color: rgb(124, 62, 174);
/* oklch */ color: oklch(49.7% 0.174 306.6);
Tailwind
colors: {
  custom: {
    50: '#a677c7',
    500: '#7c3eae',
    950: '#000000',
  },
}
SCSS
$custom: #7c3eae;
$custom-light: #a677c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3eae",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 273.214,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.17414,
    "h": 306.6
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#7C3EAE
secondary
#A1C286
accent
#D7518D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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