#AF73D7

Closest named color: Wisteria (#A87DC2). oklch(65.8% 0.155 310.4), rgb(175, 115, 215).

Aa

Black text reads best on this color (6.25:1).

About this color

#AF73D7 is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.155 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.045 away. Black text reads best on it, at 6.25:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.155)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.25:1
White text3.35:1

Values

HEX#AF73D7
RGBrgb(175, 115, 215)
HSLhsl(276, 56%, 65%)
OKLCHoklch(65.8% 0.155 310.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #AF73D7 3.35:1 AA large text Lc -66.2 Content text, not long reading
Black text on #AF73D7 6.25:1 AA Lc 43.3 Non-text elements, placeholder text
#AF73D7 text on white 3.35:1 AA large text Lc 60.8 Content text, not long reading
#AF73D7 text on black 6.25:1 AA Lc -40.9 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E2D2EE

    oklch(88.5% 0.042 310.9)

  4. Step 300

    300

    #D0B3E6

    oklch(80.8% 0.077 310.3)

  5. Step 400

    400

    #B88AD9

    oklch(70.6% 0.122 310.2)

  6. Step 500

    500 (this color)

    #AF73D7

    oklch(65.8% 0.155 310.4)

  7. Step 600

    600

    #9250BB

    oklch(55.6% 0.169 310.5)

  8. Step 700

    700

    #7C40A1

    oklch(49.1% 0.157 310.4)

  9. Step 800

    800

    #653683

    oklch(42.8% 0.13 310.2)

  10. Step 900

    900

    #522F69

    oklch(37.6% 0.102 310.2)

  11. Step 950

    950

    #301C3D

    oklch(26.9% 0.064 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF73D7 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#5C89DB0.123
Deuteranopia (no green cones)#6C8DD40.112
Tritanopia (no blue cones)#AA839B0.110
Achromatopsia (no color)#8C8C8C0.156

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #AF73D7

    #AF73D7

    oklch(65.8% 0.155 310.4)

  • #70A42F

    #70A42F

    oklch(65.9% 0.156 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF73D7

    #AF73D7

    oklch(65.8% 0.155 310.4)

  • #8183ED

    #8183ED

    oklch(65.7% 0.155 280.4)

  • #CE67AE

    #CE67AE

    oklch(65.7% 0.155 340.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #AF73D7

    #AF73D7

    oklch(65.8% 0.155 310.4)

  • #A59300

    #A59300

    oklch(65.9% 0.137 100.6)

  • #00AC72

    #00AC72

    oklch(65.7% 0.148 160.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF73D7

    #AF73D7

    oklch(65.8% 0.155 310.4)

  • #C78000

    #C78000

    oklch(65.8% 0.142 70.8)

  • #00A7A1

    #00A7A1

    oklch(65.7% 0.113 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF73D7

    #AF73D7

    oklch(65.8% 0.155 310.4)

  • #DE6B40

    #DE6B40

    oklch(65.7% 0.155 40.4)

  • #70A42F

    #70A42F

    oklch(65.9% 0.156 130.6)

  • #00A2C4

    #00A2C4

    oklch(65.9% 0.12 219.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AF73D7, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #AF73D7 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.