Maroon Colors  ·  Color Library

Palettes / Colors / #AF2DEB

#AF2DEB — Vivid Purple

#AF2DEB is a purple color we call Vivid Purple, closest to the named color BlueViolet (#8A2BE2). It belongs to the purple family.

Color name

Closest CSS keyword: blueviolet (#8A2BE2) — not an exact match. CSS blueviolet gives you #8A2BE2, a different color; use #AF2DEB when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#AF2DEB is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #69EB2D; it also sits naturally between #502DEB and #EB2DC9. In the palettes below you can see it working alongside real color combinations from our collection.

#AF2DEB · RGB 175, 45, 235

Download PNG swatch SVG

Color values

HEX#AF2DEB
RGB175, 45, 235
HSL281°, 83%, 55%
HSV281°, 81%, 92%
CMYK26%, 81%, 0%, 8%
XYZ33.61, 16.99, 80.10
Yxy16.99, 0.2572, 0.1300
CIE-Lab48.25, 76.66, -69.78
Hunter Lab41.22, 76.84, -92.03

RGB & CMYK percentages

Red 69% · Green 18% · Blue 92%

Cyan 26% · Magenta 81% · Yellow 0% · Key 8%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #AF2DEB on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #AF2DEB on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #AF2DEB

.text { color: #AF2DEB; }
.background { background-color: #AF2DEB; }
.border { border: 3px solid #AF2DEB; }
.text-rgb { color: rgb(175, 45, 235); }
.text-hsl { color: hsl(281, 83%, 55%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AF2DEB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 45, 235, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AF2DEB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 45, 235, 0.8); }

HTML: <p style="color:#AF2DEB">Text here</p> · <div style="background-color:#AF2DEB">Div content here</div>

Shades of #AF2DEB

#A616E9#9614D2#8511BB#740FA3#640D8C#500A70#3F0859#2F0641#1E042A#0D0213

Tints of #AF2DEB

#B640ED#BD52EF#C465F1#CC78F2#D48FF5#DCA2F6#E3B4F8#EAC7FA#F1DAFC#F8ECFD

Tones of #AF2DEB

#AA3BDE#A549D0#A056C2#9B63B6#9671A8#917E9A

Color harmonies

Complementary — #69EB2D:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.78:1 AA
Against black text4.40:1 AA large only

Best text color on #AF2DEB: #FFFFFF.

Semi-transparent (opacity) text on #AF2DEB

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #AF2DEB: ·

How #AF2DEB looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #7776BDDeuteranopia · #7E88B2Tritanopia · #A99991

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind purple 600 · #9333EATailwind fuchsia 600 · #C026D3Tailwind purple 500 · #A855F7

Palettes with a similar color

These palettes use a close neighbour of #AF2DEB rather than the exact color:

Palette Fbf5a7
#FBF5A7 · #FF97D0 · #FF62BB · #B331F1
Mellow Orchard
#399716 · #77E547 · #B234E2 · #D7B3EF
Mellow Meadow
#5F59DF · #A52CE3 · #C02D97 · #E5394B
Vivid Aurora
#3C28B0 · #BA33E4 · #BF2D89 · #E0383B
Palette Bf2ef0
#BF2EF0 · #ED3EF7 · #FEECB3 · #FFF6EA
Honey Ruby Ember
#37B911 · #A9F16A · #BF27EB · #E4C7F6

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#B331F1#B234E2#A52CE3#BA33E4#BF2EF0#BF27EB#AD2FDA#A823F8#AA1DE4#B235FC#B435DA#B931FC

Browse neighbouring colors

← #AF2DEA  ·  #AF2DEC →

Frequently asked questions

What color is #AF2DEB?

#AF2DEB is Vivid Purple, a purple color (RGB 175, 45, 235). Its closest standard named color is BlueViolet.

What is the RGB and HSL of #AF2DEB?

#AF2DEB is RGB 175, 45, 235 — HSL 281°, 83%, 55% — CMYK 26%, 81%, 0%, 8%.

What colors go with #AF2DEB?

Its complement is #69EB2D; analogous partners are #502DEB and #EB2DC9. It also appears in 6+ palettes in our collection.

Can I use #AF2DEB for text?

White text on #AF2DEB has a contrast ratio of 4.78:1 (passes WCAG AA); black text gives 4.40:1.