#AF7BB1

Closest named color: Wisteria (#A87DC2). oklch(65.4% 0.098 325.4), rgb(175, 123, 177).

Aa

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

About this color

#AF7BB1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.098 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.027 away. Black text reads best on it, at 6.29:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.29:1
White text3.33:1

Values

HEX#AF7BB1
RGBrgb(175, 123, 177)
HSLhsl(298, 26%, 59%)
OKLCHoklch(65.4% 0.098 325.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 #AF7BB1 3.33:1 AA large text Lc -66.2 Content text, not long reading
Black text on #AF7BB1 6.29:1 AA Lc 43.4 Non-text elements, placeholder text
#AF7BB1 text on white 3.33:1 AA large text Lc 60.7 Content text, not long reading
#AF7BB1 text on black 6.29:1 AA Lc -41.0 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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E3D3E3

    oklch(88.5% 0.028 325.8)

  4. Step 300

    300

    #D1B6D2

    oklch(80.8% 0.049 324.9)

  5. Step 400

    400

    #BA90BB

    oklch(70.7% 0.078 325.6)

  6. Step 500

    500 (this color)

    #AF7BB1

    oklch(65.4% 0.098 325.4)

  7. Step 600

    600

    #935C95

    oklch(55.6% 0.107 325.7)

  8. Step 700

    700

    #7D4C7F

    oklch(49.2% 0.098 325.6)

  9. Step 800

    800

    #663E67

    oklch(42.7% 0.082 326)

  10. Step 900

    900

    #533554

    oklch(37.7% 0.064 325.7)

  11. Step 950

    950

    #311F31

    oklch(27% 0.041 326.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BB1 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)#7789B30.088
Deuteranopia (no green cones)#838FAF0.082
Tritanopia (no blue cones)#B2808E0.059
Achromatopsia (no color)#8D8D8D0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BB1

    #AF7BB1

    oklch(65.4% 0.098 325.4)

  • #68A06B

    #68A06B

    oklch(65.3% 0.098 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BB1

    #AF7BB1

    oklch(65.4% 0.098 325.4)

  • #9584C6

    #9584C6

    oklch(65.4% 0.098 295.4)

  • #C07693

    #C07693

    oklch(65.3% 0.099 355.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BB1

    #AF7BB1

    oklch(65.4% 0.098 325.4)

  • #8E984E

    #8E984E

    oklch(65.5% 0.099 115.5)

  • #42A48D

    #42A48D

    oklch(65.4% 0.098 175)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BB1

    #AF7BB1

    oklch(65.4% 0.098 325.4)

  • #AB8C44

    #AB8C44

    oklch(65.4% 0.098 86.1)

  • #32A1AD

    #32A1AD

    oklch(65.3% 0.098 205.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BB1

    #AF7BB1

    oklch(65.4% 0.098 325.4)

  • #BE8053

    #BE8053

    oklch(65.4% 0.098 56)

  • #68A06B

    #68A06B

    oklch(65.3% 0.098 145.6)

  • #4E9AC4

    #4E9AC4

    oklch(65.5% 0.098 235.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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