#AF7FB8

Closest named color: Wisteria (#A87DC2). oklch(66.4% 0.098 321.1), rgb(175, 127, 184).

Aa

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

About this color

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

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

Values

HEX#AF7FB8
RGBrgb(175, 127, 184)
HSLhsl(291, 29%, 61%)
OKLCHoklch(66.4% 0.098 321.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 #AF7FB8 3.20:1 AA large text Lc -64.6 Content text, not long reading
Black text on #AF7FB8 6.55:1 AA Lc 44.9 Non-text elements, placeholder text
#AF7FB8 text on white 3.20:1 AA large text Lc 59.2 Large or bold text, headings
#AF7FB8 text on black 6.55:1 AA Lc -42.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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7F0

    oklch(93.6% 0.014 318.7)

  3. Step 200

    200

    #E2D4E4

    oklch(88.6% 0.026 321.9)

  4. Step 300

    300

    #CFB7D4

    oklch(80.9% 0.048 320.4)

  5. Step 400

    400

    #B791BE

    oklch(70.7% 0.077 321.1)

  6. Step 500

    500 (this color)

    #AF7FB8

    oklch(66.4% 0.098 321.1)

  7. Step 600

    600

    #905D99

    oklch(55.6% 0.107 321.4)

  8. Step 700

    700

    #7A4C83

    oklch(49% 0.101 320.9)

  9. Step 800

    800

    #633F6A

    oklch(42.7% 0.082 320.9)

  10. Step 900

    900

    #513656

    oklch(37.7% 0.063 321.1)

  11. Step 950

    950

    #302033

    oklch(27.2% 0.041 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FB8 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)#798CBA0.084
Deuteranopia (no green cones)#8492B60.078
Tritanopia (no blue cones)#B085940.061
Achromatopsia (no color)#9090900.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FB8

    #AF7FB8

    oklch(66.4% 0.098 321.1)

  • #71A269

    #71A269

    oklch(66.2% 0.098 141)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FB8

    #AF7FB8

    oklch(66.4% 0.098 321.1)

  • #9388CB

    #9388CB

    oklch(66.2% 0.099 291)

  • #C17A9B

    #C17A9B

    oklch(66.4% 0.098 350.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FB8

    #AF7FB8

    oklch(66.4% 0.098 321.1)

  • #96994E

    #96994E

    oklch(66.4% 0.098 110.8)

  • #4AA78B

    #4AA78B

    oklch(66.4% 0.099 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FB8

    #AF7FB8

    oklch(66.4% 0.098 321.1)

  • #B28D48

    #B28D48

    oklch(66.4% 0.098 81.3)

  • #35A5AC

    #35A5AC

    oklch(66.3% 0.098 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FB8

    #AF7FB8

    oklch(66.4% 0.098 321.1)

  • #C3815A

    #C3815A

    oklch(66.2% 0.098 51)

  • #71A269

    #71A269

    oklch(66.2% 0.098 141)

  • #4B9EC5

    #4B9EC5

    oklch(66.4% 0.099 231.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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