AfoliOpen Afoli →

Blue/purple color #5A06EF

Blue/purple is a color name from the xkcd color survey for the hex code #5A06EF — RGB 90, 6, 239, HSL 262°, 95%, 48%.

Open in Afoli Colour tools →

#5A06EFBlue/purple

Color codes

HEX
#5A06EF
RGB
rgb(90, 6, 239)
HSL
hsl(262, 95%, 48%)
CMYK
62%, 97%, 0%, 6%
OKLCH
oklch(47.7% 0.279 283.5)

Tints and shades

#F3F4FF#D4D6FF#B7B7FF#9B97FF#8174FF#6C49FF#5A08EF#4500BC#300089#1C005A#0B002F

Color harmonies

Complementary
#5A06EF#675F00
Analogous
#005CAE#5A06EF#8A00B7
Triadic
#5A06EF#9A3A00#006E4C
Split complementary
#5A06EF#7E5200#3B6C00
Tetradic
#5A06EF#AD003C#675F00#006B6A

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Blue/purple text on white7.76 : 184AAA — any text
Blue/purple text on black2.71 : 1-18Fails for text
White text on Blue/purple7.76 : 1-89AAA — any text
Black text on Blue/purple2.71 : 120Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Frequently asked questions

What is the hex code of Blue/purple?

Blue/purple has the hex code #5A06EF, which is RGB 90, 6, 239 and HSL 262°, 95%, 48%.

Which text color reads best on Blue/purple?

White text: contrast 7.76 : 1 (black text: 2.71 : 1).

Which colors go well with Blue/purple?

Its complementary color is #675F00; analogous colors are #005CAE and #8A00B7; a triadic set adds #9A3A00 and #006E4C.

Similar colors

Sources and licences

Updated November 21, 2026