#7C4ACC#7C4ACC

#7C4ACC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.192 H 297.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7C4ACC
RGBrgb(124, 74, 204)
HSLhsl(263, 56%, 55%)
HSVhsv(263, 64%, 80%)
CMYKcmyk(39.2%, 63.7%, 0%, 20%)
CIE-LABlab(43.57, 48.63, -59.97)
CIE-LCHlch(43.57, 77.21, 309.04°)
OKLaboklab(53.45% 0.0876 -0.1709)
OKLCHoklch(53.45% 0.192 297.1)
XYZxyz(21.6572, 13.5419, 58.5879)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4ACC #9ACC4A
analogous
#4A59CC #7C4ACC #BD4ACC
triadic
#7C4ACC #CC7C4A #4ACC7C
tetradic
#7C4ACC #CC4A59 #9ACC4A #4ACCBD
square
#7C4ACC #CC4A59 #9ACC4A #4ACCBD
split-complementary
#7C4ACC #CCBD4A #59CC4A
monochromatic
#442279 #5E30A9 #7C4ACC #9F7AD9 #C1A9E7

Accessibility & contrast

On white

5.66
#7C4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7C4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4ACC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4ACC#FFFFFF#000000##FFFFFF
##7C4ACC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#696884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4acc;
/* rgb */ color: rgb(124, 74, 204);
/* oklch */ color: oklch(53.5% 0.192 297.1);
Tailwind
colors: {
  custom: {
    50: '#a77fdc',
    500: '#7c4acc',
    950: '#000000',
  },
}
SCSS
$custom: #7c4acc;
$custom-light: #a77fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4acc",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 263.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.192,
    "h": 297.1
  },
  "luminance": 0.13542
}

Semantic roles & 50–950 ramp

primary
#7C4ACC
secondary
#BFD49D
accent
#DF48A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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