#7C4ABE#7C4ABE

#7C4ABE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.175 H 300.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7C4ABE
RGBrgb(124, 74, 190)
HSLhsl(266, 47%, 52%)
HSVhsv(266, 61%, 75%)
CMYKcmyk(34.7%, 61.1%, 0%, 25.5%)
CIE-LABlab(42.61, 45.02, -53.39)
CIE-LCHlch(42.61, 69.83, 310.14°)
OKLaboklab(52.46% 0.0885 -0.1515)
OKLCHoklch(52.46% 0.175 300.3)
XYZxyz(20.0530, 12.9002, 50.1387)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4ABE #8CBE4A
analogous
#4A52BE #7C4ABE #B64ABE
triadic
#7C4ABE #BE7C4A #4ABE7C
tetradic
#7C4ABE #BE4A52 #8CBE4A #4ABEB6
square
#7C4ABE #BE4A52 #8CBE4A #4ABEB6
split-complementary
#7C4ABE #BEB64A #52BE4A
monochromatic
#422568 #5F3695 #7C4ABE #9D77CE #BDA4DE

Accessibility & contrast

On white

5.87
#7C4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7C4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4ABE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4ABE#FFFFFF#000000##FFFFFF
##7C4ABE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2164BB
Tritanopia (blue-blind)
#6E637D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c4abe;
/* rgb */ color: rgb(124, 74, 190);
/* oklch */ color: oklch(52.5% 0.175 300.3);
Tailwind
colors: {
  custom: {
    50: '#a67fd2',
    500: '#7c4abe',
    950: '#000000',
  },
}
SCSS
$custom: #7c4abe;
$custom-light: #a67fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4abe",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 265.862,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.17546,
    "h": 300.3
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#7C4ABE
secondary
#B5CB98
accent
#D7519D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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