#7C4EAE#7C4EAE

#7C4EAE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.0% C 0.150 H 303.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7C4EAE
RGBrgb(124, 78, 174)
HSLhsl(269, 38%, 49%)
HSVhsv(269, 55%, 68%)
CMYKcmyk(28.7%, 55.2%, 0%, 31.8%)
CIE-LABlab(42.45, 38.76, -44.27)
CIE-LCHlch(42.45, 58.84, 311.21°)
OKLaboklab(52.01% 0.0834 -0.1248)
OKLCHoklch(52.01% 0.15 303.7)
XYZxyz(18.6749, 12.7899, 41.5211)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EAE #80AE4E
analogous
#4E50AE #7C4EAE #AC4EAE
triadic
#7C4EAE #AE7C4E #4EAE7C
tetradic
#7C4EAE #AE4E50 #80AE4E #4EAEAC
square
#7C4EAE #AE4E50 #80AE4E #4EAEAC
split-complementary
#7C4EAE #AEAC4E #50AE4E
monochromatic
#402859 #5E3B84 #7C4EAE #9B77C2 #BAA1D5

Accessibility & contrast

On white

5.90
#7C4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7C4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EAE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EAE#FFFFFF#000000##FFFFFF
##7C4EAE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#736076
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7c4eae;
/* rgb */ color: rgb(124, 78, 174);
/* oklch */ color: oklch(52.0% 0.150 303.7);
Tailwind
colors: {
  custom: {
    50: '#a581c7',
    500: '#7c4eae',
    950: '#000000',
  },
}
SCSS
$custom: #7c4eae;
$custom-light: #a581c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4eae",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 268.75,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.15005,
    "h": 303.7
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#7C4EAE
secondary
#ADC296
accent
#CE5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7C4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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