#7C4AC3#7C4AC3

#7C4AC3 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.181 H 299.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7C4AC3
RGBrgb(124, 74, 195)
HSLhsl(265, 50%, 53%)
HSVhsv(265, 62%, 76%)
CMYKcmyk(36.4%, 62.1%, 0%, 23.5%)
CIE-LABlab(42.95, 46.30, -55.76)
CIE-LCHlch(42.95, 72.47, 309.70°)
OKLaboklab(52.81% 0.0882 -0.1585)
OKLCHoklch(52.81% 0.181 299.1)
XYZxyz(20.6088, 13.1226, 53.0663)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4AC3 #91C34A
analogous
#4A55C3 #7C4AC3 #B84AC3
triadic
#7C4AC3 #C37C4A #4AC37C
tetradic
#7C4AC3 #C34A55 #91C34A #4AC3B8
square
#7C4AC3 #C34A55 #91C34A #4AC3B8
split-complementary
#7C4AC3 #C3B84A #55C34A
monochromatic
#43246E #5F349C #7C4AC3 #9D78D2 #BFA6E1

Accessibility & contrast

On white

5.79
#7C4AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7C4AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4AC3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4AC3#FFFFFF#000000##FFFFFF
##7C4AC31.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#1764C0
Tritanopia (blue-blind)
#6C6480
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c4ac3;
/* rgb */ color: rgb(124, 74, 195);
/* oklch */ color: oklch(52.8% 0.181 299.1);
Tailwind
colors: {
  custom: {
    50: '#a77fd6',
    500: '#7c4ac3',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ac3;
$custom-light: #a77fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ac3",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 264.793,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.18139,
    "h": 299.1
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#7C4AC3
secondary
#B9CF9A
accent
#DA4EA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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