#AF6AA2

Closest named color: Soft Purple (#A66FB5). oklch(61.8% 0.115 334.1), rgb(175, 106, 162).

Aa

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

About this color

#AF6AA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.115 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.032 away. Black text reads best on it, at 5.40:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.40:1
White text3.88:1

Values

HEX#AF6AA2
RGBrgb(175, 106, 162)
HSLhsl(311, 30%, 55%)
OKLCHoklch(61.8% 0.115 334.1)

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 #AF6AA2 3.88:1 AA large text Lc -71.6 Content text, not long reading
Black text on #AF6AA2 5.40:1 AA Lc 38.0 Non-text elements, placeholder text
#AF6AA2 text on white 3.88:1 AA large text Lc 66.1 Content text, not long reading
#AF6AA2 text on black 5.40:1 AA Lc -35.6 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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E7D2E2

    oklch(88.6% 0.031 334)

  4. Step 300

    300

    #D8B4D0

    oklch(81% 0.056 333.9)

  5. Step 400

    400

    #C38CB8

    oklch(70.8% 0.089 333.8)

  6. Step 500

    500 (this color)

    #AF6AA2

    oklch(61.8% 0.115 334.1)

  7. Step 600

    600

    #9E5591

    oklch(55.6% 0.124 334.1)

  8. Step 700

    700

    #87457B

    oklch(49.1% 0.115 334.4)

  9. Step 800

    800

    #6E3964

    oklch(42.7% 0.095 334.6)

  10. Step 900

    900

    #593152

    oklch(37.6% 0.075 333.7)

  11. Step 950

    950

    #341D30

    oklch(26.9% 0.048 333.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF6AA2 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)#6A7BA40.113
Deuteranopia (no green cones)#7B85A00.104
Tritanopia (no blue cones)#B56D7F0.058
Achromatopsia (no color)#8181810.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6AA2

    #AF6AA2

    oklch(61.8% 0.115 334.1)

  • #459A65

    #459A65

    oklch(61.9% 0.116 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6AA2

    #AF6AA2

    oklch(61.8% 0.115 334.1)

  • #9573BE

    #9573BE

    oklch(61.8% 0.116 304.1)

  • #BE667E

    #BE667E

    oklch(61.8% 0.115 3.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF6AA2

    #AF6AA2

    oklch(61.8% 0.115 334.1)

  • #77913E

    #77913E

    oklch(61.8% 0.114 124.2)

  • #009B8D

    #009B8D

    oklch(61.9% 0.11 183.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6AA2

    #AF6AA2

    oklch(61.8% 0.115 334.1)

  • #9C8423

    #9C8423

    oklch(61.8% 0.115 94.4)

  • #0096AD

    #0096AD

    oklch(61.9% 0.109 213.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6AA2

    #AF6AA2

    oklch(61.8% 0.115 334.1)

  • #B57532

    #B57532

    oklch(61.8% 0.115 63.8)

  • #459A65

    #459A65

    oklch(61.9% 0.116 153.9)

  • #408CC5

    #408CC5

    oklch(61.8% 0.114 243.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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