Iris (#5A4FCF)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 6.08:1 — vs black: 3.45:1

Color values

  • HEX #5A4FCF
  • RGB rgb(90, 79, 207)
  • HSL hsl(245, 61%, 81%)
  • CMYK cmyk( 56.52, 61.84, 0, 18.82 )
  • Websafe #6666CC

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #5A4FCF based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Iris
#5A4FCF Base
#C4CF4F
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Iris
#5A4FCF Base
#4F84CF
#9A4FCF
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Iris
#5A4FCF Base
#CF5A4F
#4FCF5A
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Iris
#5A4FCF Base
#CF9A4F
#84CF4F
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Iris
#5A4FCF Base
#CF4F84
#C4CF4F
#4FCF9A
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Iris
#5A4FCF Base
#231C68
#372DA5
#4135C1
#786FD8
#928BDF
#CBC7F0
Shades & Tints

Darker shades and lighter tints of Iris, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#070514
#14113D
#221C66
#30278F
#3E32B8
Iris #5A4FCF Base
#776ED8
#948DE0
#B2ADE9
#CFCCF1
#ECEBFA
CSS & SCSS Snippets

Ready-to-use code snippets for #5A4FCF. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #5A4FCF;
}

/* Text */
.element {
    color: #5A4FCF;
}

/* Border */
.element {
    border: 1px solid #5A4FCF;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #5A4FCF,
        #E8EDB1
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #5A4FCF,
        #E8EDB1
    );
}
SCSS Variable
// SCSS variable
$iris: #5A4FCF;

// With RGB channels (useful for rgba() usage)
$iris-r: 90;
$iris-g: 79;
$iris-b: 207;

// Usage
.element {
    background-color: $iris;
    color: rgba($iris-r, $iris-g, $iris-b, 0.8);
}
Color Blindness Simulation

How Iris appears to people with different types of color vision deficiency.

Normal Vision #5A4FCF How the color appears with full color vision.
Deuteranopia #5252CF Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #5050CF Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #306B6B Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #626262 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Iris ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Iris #5A4FCF Base
Majorelle Blue #6050DC ΔE 2.07
Slate Blue #6A5ACD ΔE 3.98
Palatinate Blue #273BE2 ΔE 6.79
Blue (RYB) #0247FE ΔE 6.91

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.