#7C4ACB#7C4ACB

#7C4ACB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.191 H 297.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7C4ACB
RGBrgb(124, 74, 203)
HSLhsl(263, 55%, 54%)
HSVhsv(263, 64%, 80%)
CMYKcmyk(38.9%, 63.5%, 0%, 20.4%)
CIE-LABlab(43.50, 48.37, -59.50)
CIE-LCHlch(43.50, 76.68, 309.11°)
OKLaboklab(53.38% 0.0876 -0.1695)
OKLCHoklch(53.38% 0.191 297.3)
XYZxyz(21.5377, 13.4941, 57.9582)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4ACB #99CB4A
analogous
#4A59CB #7C4ACB #BD4ACB
triadic
#7C4ACB #CB7C4A #4ACB7C
tetradic
#7C4ACB #CB4A59 #99CB4A #4ACBBD
square
#7C4ACB #CB4A59 #99CB4A #4ACBBD
split-complementary
#7C4ACB #CBBD4A #59CB4A
monochromatic
#442378 #5E30A8 #7C4ACB #9E7AD9 #C1A9E6

Accessibility & contrast

On white

5.68
#7C4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7C4ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4ACB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4ACB#FFFFFF#000000##FFFFFF
##7C4ACB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#696784
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4acb;
/* rgb */ color: rgb(124, 74, 203);
/* oklch */ color: oklch(53.4% 0.191 297.3);
Tailwind
colors: {
  custom: {
    50: '#a77fdc',
    500: '#7c4acb',
    950: '#000000',
  },
}
SCSS
$custom: #7c4acb;
$custom-light: #a77fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4acb",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 263.256,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.19082,
    "h": 297.3
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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