#7C4AC5#7C4AC5

#7C4AC5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.184 H 298.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7C4AC5
RGBrgb(124, 74, 197)
HSLhsl(264, 51%, 53%)
HSVhsv(264, 62%, 77%)
CMYKcmyk(37.1%, 62.4%, 0%, 22.7%)
CIE-LABlab(43.08, 46.82, -56.70)
CIE-LCHlch(43.08, 73.53, 309.55°)
OKLaboklab(52.95% 0.0881 -0.1613)
OKLCHoklch(52.95% 0.184 298.6)
XYZxyz(20.8365, 13.2136, 54.2652)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4AC5 #93C54A
analogous
#4A56C5 #7C4AC5 #B94AC5
triadic
#7C4AC5 #C57C4A #4AC57C
tetradic
#7C4AC5 #C54A56 #93C54A #4AC5B9
square
#7C4AC5 #C54A56 #93C54A #4AC5B9
split-complementary
#7C4AC5 #C5B94A #56C54A
monochromatic
#432471 #5F339F #7C4AC5 #9E78D4 #BFA7E3

Accessibility & contrast

On white

5.76
#7C4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7C4AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4AC5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4AC5#FFFFFF#000000##FFFFFF
##7C4AC51.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#1165C2
Tritanopia (blue-blind)
#6B6581
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c4ac5;
/* rgb */ color: rgb(124, 74, 197);
/* oklch */ color: oklch(52.9% 0.184 298.6);
Tailwind
colors: {
  custom: {
    50: '#a77fd7',
    500: '#7c4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ac5;
$custom-light: #a77fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ac5",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 264.39,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.18376,
    "h": 298.6
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#7C4AC5
secondary
#BAD09B
accent
#DB4DA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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