#7A4CC4#7A4CC4

#7A4CC4 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.180 H 297.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7A4CC4
RGBrgb(122, 76, 196)
HSLhsl(263, 50%, 53%)
HSVhsv(263, 61%, 77%)
CMYKcmyk(37.8%, 61.2%, 0%, 23.1%)
CIE-LABlab(43.20, 45.03, -55.94)
CIE-LCHlch(43.20, 71.82, 308.83°)
OKLaboklab(52.96% 0.0831 -0.1591)
OKLCHoklch(52.96% 0.18 297.6)
XYZxyz(20.5718, 13.2917, 53.6956)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CC4 #96C44C
analogous
#4C5AC4 #7A4CC4 #B64CC4
triadic
#7A4CC4 #C47A4C #4CC47A
tetradic
#7A4CC4 #C44C5A #96C44C #4CC4B6
square
#7A4CC4 #C44C5A #96C44C #4CC4B6
split-complementary
#7A4CC4 #C4B64C #5AC44C
monochromatic
#422571 #5D349F #7A4CC4 #9C7AD3 #BEA8E2

Accessibility & contrast

On white

5.74
#7A4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7A4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CC4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CC4#FFFFFF#000000##FFFFFF
##7A4CC41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1665C1
Tritanopia (blue-blind)
#696681
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a4cc4;
/* rgb */ color: rgb(122, 76, 196);
/* oklch */ color: oklch(53.0% 0.180 297.6);
Tailwind
colors: {
  custom: {
    50: '#a580d7',
    500: '#7a4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cc4;
$custom-light: #a580d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cc4",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 263,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52961,
    "c": 0.17952,
    "h": 297.6
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#7A4CC4
secondary
#BCD09C
accent
#DA4EA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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