Maroon Colors  ·  Color Library

Palettes / Colors / #AF07DA

#AF07DA — Vivid Purple

#AF07DA is a purple color we call Vivid Purple, closest to the named color DarkViolet (#9400D3). It belongs to the purple family.

Color name

Closest CSS keyword: darkviolet (#9400D3) — not an exact match. CSS darkviolet gives you #9400D3, a different color; use #AF07DA 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.

#AF07DA 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 #31DA07; it also sits naturally between #4607DA and #DA079A. In the palettes below you can see it working alongside real color combinations from our collection.

#AF07DA · RGB 175, 7, 218

Download PNG swatch SVG

Color values

HEX#AF07DA
RGB175, 7, 218
HSL288°, 94%, 44%
HSV288°, 97%, 85%
CMYK20%, 97%, 0%, 15%
XYZ30.41, 14.33, 67.49
Yxy14.33, 0.2710, 0.1277
CIE-Lab44.70, 80.34, -65.87
Hunter Lab37.85, 80.44, -84.41

RGB & CMYK percentages

Red 69% · Green 3% · Blue 85%

Cyan 20% · Magenta 97% · Yellow 0% · Key 15%

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

Previews

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

CSS code for #AF07DA

.text { color: #AF07DA; }
.background { background-color: #AF07DA; }
.border { border: 3px solid #AF07DA; }
.text-rgb { color: rgb(175, 7, 218); }
.text-hsl { color: hsl(288, 94%, 44%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AF07DA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 7, 218, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AF07DA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 7, 218, 0.8); }

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

Shades of #AF07DA

#A006C6#9006B2#80059E#70048B#600477#500363#40024F#30023B#200128#100114

Tints of #AF07DA

#C307F2#CC1BF8#D339F9#D852FA#DE6BFA#E383FB#E99CFC#EFBAFD#F5D2FE#FBEBFE

Tones of #AF07DA

#A715CB#9D25BB#9534AD#8B439D#82528E#79627F

Color harmonies

Complementary — #31DA07:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.43:1 AA
Against black text3.87:1 AA large only

Best text color on #AF07DA: #FFFFFF.

Semi-transparent (opacity) text on #AF07DA

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 #AF07DA: ·

How #AF07DA looks with color blindness

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

Protanopia · #6665A7Deuteranopia · #707D9BTritanopia · #A77F76

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 fuchsia 600 · #C026D3Tailwind purple 600 · #9333EAMaterial Purple 500 · #9C27B0

Palettes with a similar color

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

Rustic Ruby Dusk
#46AAE7 · #677CE9 · #9A75F1 · #A412D4
Silent Ruby Aurora
#B715CE · #EA2FD4 · #4EEB37 · #C3F3B6
Vintage Horizon
#651EAF · #AF16CA · #C0259F · #D72772
Electric Petal
#3E15AC · #AA1DE4 · #EB57D4 · #F3A0C2
Dreamy Bloom
#3A1A95 · #B81FDA · #D7158D · #B3161F
Lucky Ruby Monsoon
#E5ABF2 · #D577E9 · #B11FD1 · #811B97

Similar colors

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

#A412D4#B715CE#AF16CA#AA1DE4#B81FDA#B11FD1#A613C4#A01FD9#A827D4#B927D8#A126D6#C917C9

Browse neighbouring colors

← #AF07D9  ·  #AF07DB →

Frequently asked questions

What color is #AF07DA?

#AF07DA is Vivid Purple, a purple color (RGB 175, 7, 218). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #AF07DA?

#AF07DA is RGB 175, 7, 218 — HSL 288°, 94%, 44% — CMYK 20%, 97%, 0%, 15%.

What colors go with #AF07DA?

Its complement is #31DA07; analogous partners are #4607DA and #DA079A. It also appears in 6+ palettes in our collection.

Can I use #AF07DA for text?

White text on #AF07DA has a contrast ratio of 5.43:1 (passes WCAG AA); black text gives 3.87:1.