#AF97BA

Closest named color: Light Mauve (#C292A1). oklch(70.9% 0.057 315.2), rgb(175, 151, 186).

Aa

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

About this color

#AF97BA is a medium-light, muted purple. In OKLCH its lightness is 71%, its chroma 0.057 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Mauve (#C292A1), ΔE 0.043 away. Black text reads best on it, at 7.95:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamuted (0.057)
Temperaturein between
Nearest nameLight Mauve (#C292A1)
Black text7.95:1
White text2.63:1

Values

HEX#AF97BA
RGBrgb(175, 151, 186)
HSLhsl(281, 20%, 66%)
OKLCHoklch(70.9% 0.057 315.2)

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 #AF97BA 2.63:1 Fails Lc -56.6 Large or bold text, headings
Black text on #AF97BA 7.95:1 AAA Lc 52.6 Large or bold text, headings
#AF97BA text on white 2.63:1 Fails Lc 51.4 Large or bold text, headings
#AF97BA text on black 7.95:1 AAA Lc -50.5 Large or bold text, headings

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

  1. Step 50

    50

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DED5E2

    oklch(88.4% 0.02 315.7)

  4. Step 300

    300

    #CABAD1

    oklch(80.9% 0.036 315.7)

  5. Step 400

    400 (this color)

    #AF97BA

    oklch(70.9% 0.057 315.2)

  6. Step 500

    500

    #9A7CA8

    oklch(63% 0.073 314.9)

  7. Step 600

    600

    #856593

    oklch(55.6% 0.079 315.3)

  8. Step 700

    700

    #71547D

    oklch(49.2% 0.073 315.8)

  9. Step 800

    800

    #5C4566

    oklch(42.8% 0.06 315.4)

  10. Step 900

    900

    #4B3A53

    oklch(37.7% 0.047 314.8)

  11. Step 950

    950

    #2C2231

    oklch(27% 0.031 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF97BA 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)#939EBC0.042
Deuteranopia (no green cones)#98A0B90.039
Tritanopia (no blue cones)#AF9BA30.039
Achromatopsia (no color)#9F9F9F0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF97BA

    #AF97BA

    oklch(70.9% 0.057 315.2)

  • #92AA86

    #92AA86

    oklch(71% 0.058 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF97BA

    #AF97BA

    oklch(70.9% 0.057 315.2)

  • #9D9DC4

    #9D9DC4

    oklch(71% 0.057 284.9)

  • #BC93A9

    #BC93A9

    oklch(70.8% 0.057 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF97BA

    #AF97BA

    oklch(70.9% 0.057 315.2)

  • #A6A47B

    #A6A47B

    oklch(71% 0.057 105.4)

  • #80AD99

    #80AD99

    oklch(70.9% 0.057 165.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF97BA

    #AF97BA

    oklch(70.9% 0.057 315.2)

  • #B69D7A

    #B69D7A

    oklch(70.9% 0.057 75.9)

  • #77ADAC

    #77ADAC

    oklch(71% 0.057 194.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF97BA

    #AF97BA

    oklch(70.9% 0.057 315.2)

  • #C09784

    #C09784

    oklch(71% 0.056 46.1)

  • #92AA86

    #92AA86

    oklch(71% 0.058 135.3)

  • #7BA9BC

    #7BA9BC

    oklch(70.9% 0.056 225.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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