#AF329F

Closest named color: Purply (#983FB2). oklch(54.4% 0.199 333.6), rgb(175, 50, 159).

Aa

White text reads best on this color (5.55:1).

About this color

#AF329F is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.199 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.055 away. White text reads best on it, at 5.55:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.199)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.77:1
White text5.55:1

Values

HEX#AF329F
RGBrgb(175, 50, 159)
HSLhsl(308, 56%, 44%)
OKLCHoklch(54.4% 0.199 333.6)

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 #AF329F 5.55:1 AA Lc -82.0 Fine for body text
Black text on #AF329F 3.77:1 AA large text Lc 27.4 Dividers and decoration only
#AF329F text on white 5.55:1 AA Lc 76.7 Fine for body text
#AF329F text on black 3.77:1 AA large text Lc -25.1 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EECDE7

    oklch(88.4% 0.05 333.3)

  4. Step 300

    300

    #E5ABD9

    oklch(80.9% 0.09 333.9)

  5. Step 400

    400

    #D57CC6

    oklch(70.7% 0.144 333.4)

  6. Step 500

    500

    #C856B7

    oklch(63.1% 0.184 333.7)

  7. Step 600

    600 (this color)

    #AF329F

    oklch(54.4% 0.199 333.6)

  8. Step 700

    700

    #9A278B

    oklch(49.2% 0.185 333.9)

  9. Step 800

    800

    #7D2371

    oklch(42.7% 0.153 333.8)

  10. Step 900

    900

    #65235C

    oklch(37.8% 0.12 333.4)

  11. Step 950

    950

    #3B1636

    oklch(27% 0.075 332.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF329F 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)#2E5DA20.216
Deuteranopia (no green cones)#5C6F9C0.184
Tritanopia (no blue cones)#B73D650.101
Achromatopsia (no color)#6868680.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF329F

    #AF329F

    oklch(54.4% 0.199 333.6)

  • #008648

    #008648

    oklch(54.4% 0.138 153.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF329F

    #AF329F

    oklch(54.4% 0.199 333.6)

  • #8A46CC

    #8A46CC

    oklch(54.4% 0.2 303.7)

  • #C52263

    #C52263

    oklch(54.4% 0.199 3.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF329F

    #AF329F

    oklch(54.4% 0.199 333.6)

  • #607C00

    #607C00

    oklch(54.4% 0.135 123.9)

  • #008276

    #008276

    oklch(54.5% 0.097 183.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF329F

    #AF329F

    oklch(54.4% 0.199 333.6)

  • #866E00

    #866E00

    oklch(54.5% 0.112 93.7)

  • #007E91

    #007E91

    oklch(54.5% 0.095 213)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF329F

    #AF329F

    oklch(54.4% 0.199 333.6)

  • #A15D00

    #A15D00

    oklch(54.4% 0.124 63.3)

  • #008648

    #008648

    oklch(54.4% 0.138 153.7)

  • #0076B7

    #0076B7

    oklch(54.5% 0.133 243.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF329F.

Similar named colors

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

Use #AF329F 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.