Color

#7A56A1

Warm violet. Nearest reference color: Royal purple.

color HEX #7A56A1 on paletico.com

RGB

0–255
122
86
161

CMYK

0–100%
24.22%
46.58%
0%
36.86%

RGB describes how #7A56A1 is represented with light on digital screens. This color combines red 122, green 86 and blue 161.

CMYK describes the same color using the four components commonly used in printing: cyan 24.22%, magenta 46.58%, yellow 0% and black 36.86%.

HSL values

H 268.8° S 30.36% L 48.43%

In the HSL color model, #7A56A1 has a hue of 268.8°, 30.36% saturation and 48.43% lightness. The sliders below show where this color sits across each of these three dimensions.

Hue 268.8°
Saturation 30.36%
Lightness 48.43%

Color insight

#7A56A1 is a medium, warm violet with moderate chroma.

Temperature
Warm
Lightness
Medium
Chroma
Moderate

Color formats

Copy #7A56A1 in a format ready to use in CSS, design tools or other applications.

HEX #7A56A1
RGB rgb(122, 86, 161)
HSL hsl(268.8 30.36% 48.43%)
OKLCH oklch(0.523689 0.119784 304.7592)
CSS --color: #7A56A1;

Tints of #7A56A1

Tints are lighter variations of #7A56A1. They keep the character of the original color while moving progressively toward a lighter appearance.

Shades of #7A56A1

Shades are darker variations of #7A56A1. Moving toward black increases visual depth while preserving the underlying hue of the color.

Tones of #7A56A1

Tones reduce the chroma of #7A56A1, producing quieter and more muted variations without simply making the color lighter or darker.

Tonal range of #7A56A1

A continuous light-to-dark scale places #7A56A1 between its lighter tints and deeper shades.

CSS color scale

Use this tonal range as reusable CSS custom properties.

:root {
    --color-100: #F3EAFF;
    --color-200: #DABCFF;
    --color-300: #BB96E7;
    --color-400: #9A75C3;
    --color-500: #7A56A1;
    --color-600: #5D3982;
    --color-700: #421D63;
    --color-800: #280044;
    --color-900: #0B0018;
}

Colors that go with #7A56A1

Color harmonies for #7A56A1 are generated by rotating its hue in the OKLCH color space while preserving its lightness and chroma. This creates classic complementary, analogous, triadic and other hue relationships with more consistent perceptual balance.

Complementary

Opposite on the color wheel, creating the strongest direct hue contrast.

Analogous

Neighboring hues that stay visually close to the original color.

Triadic

Three evenly spaced hues that create a broader, balanced color relationship.

Split complementary

Two hues around the complementary color, providing contrast with more variation.

Tetradic

Four related hues forming two complementary pairs on the color wheel.

CSS gradients with #7A56A1

These gradients show how #7A56A1 moves toward white, black and its complementary color. Each gradient includes ready-to-use CSS that can be copied directly into a project.

Toward white

A light gradient that moves from the original color toward white.

background: linear-gradient(90deg, #7A56A1, #997FB9, #BAA9D1, #DCD3E8, #FFFFFF);

Toward black

A dark gradient that moves from the original color toward black.

background: linear-gradient(90deg, #7A56A1, #51386C, #2B1C3C, #0A0511, #000000);

Toward the complementary color

A gradient connecting the original color with its complementary hue.

background: linear-gradient(90deg, #7A56A1, #9B4A74, #A34D38, #8B6100, #5B7518);

Text contrast and accessibility

Contrast determines how clearly text can be distinguished from #7A56A1. The values below compare white and black text using WCAG contrast ratios.

White text
5.72:1
AA normal Pass AA large Pass AAA normal Fail
Black text
3.67:1
AA normal Fail AA large Pass AAA normal Fail

Recommended text color: #FFFFFF . Relative luminance: 0.1337 .

Accessible CSS

Use the recommended text color with #7A56A1 as the background.

background-color: #7A56A1;
color: #FFFFFF;

Using #7A56A1 in design

See how #7A56A1 works in a simple interface. The examples below use the color as a background, accent and interface element, with text chosen from its accessibility result.

Background
Paletico Color in context

#7A56A1 used as a full background with its recommended text color.

Accent
Accent color

Use #7A56A1 to emphasize selected interface elements without filling the entire surface.

Example action
Tonal pair
#DABCFF
#7A56A1
#280044

Colors similar to #7A56A1

These nearby colors are generated from perceptual variations of #7A56A1, including changes in lightness, chroma and hue.

Color vision simulation

The simulations below show mathematical approximations of how #7A56A1 may shift under three forms of color vision deficiency. They are simulations, not a diagnosis or an exact representation of any individual person's vision.

Simulation based on the model by Machado, Oliveira and Fernandes (2009), published in IEEE Transactions on Visualization and Computer Graphics. DOI: 10.1109/TVCG.2009.113.

Advanced color values

Beyond RGB, CMYK and HSL, #7A56A1 can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.

XYZ

X
17.7855
Y
13.3664
Z
35.3543

CIELAB

L*
43.3103
a*
30.339
b*
-35.2055

OKLab

L
0.523689
a
0.068292
b
-0.098409

OKLCH

L
0.523689
C
0.119784
H
304.7592°