#AF8AFF

A light, vivid purple closely aligning with Mediumpurple.

About #AF8AFF

When working with digital screens, the color #AF8AFF is rendered by mixing light. If you're using CSS, you might find it aligns closely with Mediumpurple. Its digital footprint relies on 175 parts red, 138 parts green, and 255 parts blue light.

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 31% C, 46% M, 0% Y, and 0% K. This makes it a relatively light color when applied to physical surfaces.

From a UX and accessibility standpoint, contrast is paramount. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AF8AFF
RGB175, 138, 255
HSL259.0°, 100.0%, 77.1%
CMYK31%, 46%, 0%, 0%
HSV259.0°, 45.9%, 100.0%
LAB65.4, 38.5, -53.4
XYZ44.8, 34.5, 98.9
Decimal11504383

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.66:1
Text on #FFFFFF
FAIL
7.90:1
Text on #000000
AAA
2.54:1
Text on #F8FAFC
FAIL
6.72:1
Text on #0F172A
AA

CSS Implementation

.bg-color { background-color: #AF8AFF; }
.text-color { color: #AF8AFF; }
.border-color { border: 2px solid #AF8AFF; }

Similar Colors

Mediumpurple
#9370DB