#7C4ACA#7C4ACA

#7C4ACA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.190 H 297.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7C4ACA
RGBrgb(124, 74, 202)
HSLhsl(263, 55%, 54%)
HSVhsv(263, 63%, 79%)
CMYKcmyk(38.6%, 63.4%, 0%, 20.8%)
CIE-LABlab(43.43, 48.11, -59.04)
CIE-LCHlch(43.43, 76.16, 309.18°)
OKLaboklab(53.31% 0.0877 -0.1681)
OKLCHoklch(53.31% 0.19 297.6)
XYZxyz(21.4189, 13.4466, 57.3326)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4ACA #98CA4A
analogous
#4A58CA #7C4ACA #BC4ACA
triadic
#7C4ACA #CA7C4A #4ACA7C
tetradic
#7C4ACA #CA4A58 #98CA4A #4ACABC
square
#7C4ACA #CA4A58 #98CA4A #4ACABC
split-complementary
#7C4ACA #CABC4A #58CA4A
monochromatic
#442377 #5F31A6 #7C4ACA #9E79D8 #C1A9E6

Accessibility & contrast

On white

5.69
#7C4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7C4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4ACA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4ACA#FFFFFF#000000##FFFFFF
##7C4ACA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#696783
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4aca;
/* rgb */ color: rgb(124, 74, 202);
/* oklch */ color: oklch(53.3% 0.190 297.6);
Tailwind
colors: {
  custom: {
    50: '#a77fdb',
    500: '#7c4aca',
    950: '#000000',
  },
}
SCSS
$custom: #7c4aca;
$custom-light: #a77fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4aca",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 263.438,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.18966,
    "h": 297.6
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#7C4ACA
secondary
#BED39D
accent
#DE4AA4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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