#AF81BC

Closest named color: Wisteria (#A87DC2). oklch(66.9% 0.099 318.7), rgb(175, 129, 188).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.68:1
White text3.13:1

Values

HEX#AF81BC
RGBrgb(175, 129, 188)
HSLhsl(287, 31%, 62%)
OKLCHoklch(66.9% 0.099 318.7)

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 #AF81BC 3.13:1 AA large text Lc -63.8 Content text, not long reading
Black text on #AF81BC 6.68:1 AA Lc 45.7 Large or bold text, headings
#AF81BC text on white 3.13:1 AA large text Lc 58.4 Large or bold text, headings
#AF81BC text on black 6.68:1 AA Lc -43.4 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

    #E1D4E5

    oklch(88.5% 0.027 318.2)

  4. Step 300

    300

    #CEB7D5

    oklch(80.8% 0.049 318.3)

  5. Step 400

    400

    #B691C0

    oklch(70.7% 0.079 319)

  6. Step 500

    500 (this color)

    #AF81BC

    oklch(66.9% 0.099 318.7)

  7. Step 600

    600

    #8E5E9C

    oklch(55.7% 0.108 318.4)

  8. Step 700

    700

    #794D85

    oklch(49.2% 0.1 318.8)

  9. Step 800

    800

    #623F6C

    oklch(42.6% 0.084 318.5)

  10. Step 900

    900

    #503658

    oklch(37.7% 0.065 318)

  11. Step 950

    950

    #2F2033

    oklch(27% 0.04 319)

Export this scale for Tailwind in the Tailwind colors tool

#AF81BC 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)#7A8EBE0.082
Deuteranopia (no green cones)#8493BA0.077
Tritanopia (no blue cones)#B088960.066
Achromatopsia (no color)#9191910.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF81BC

    #AF81BC

    oklch(66.9% 0.099 318.7)

  • #75A468

    #75A468

    oklch(67% 0.099 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF81BC

    #AF81BC

    oklch(66.9% 0.099 318.7)

  • #928BCE

    #928BCE

    oklch(66.9% 0.098 288.2)

  • #C27B9F

    #C27B9F

    oklch(66.8% 0.099 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF81BC

    #AF81BC

    oklch(66.9% 0.099 318.7)

  • #9A9A4E

    #9A9A4E

    oklch(67% 0.099 108.8)

  • #4DA88A

    #4DA88A

    oklch(66.7% 0.099 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF81BC

    #AF81BC

    oklch(66.9% 0.099 318.7)

  • #B68D49

    #B68D49

    oklch(66.8% 0.099 78.3)

  • #35A7AB

    #35A7AB

    oklch(66.8% 0.099 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF81BC

    #AF81BC

    oklch(66.9% 0.099 318.7)

  • #C7825D

    #C7825D

    oklch(67% 0.1 48.7)

  • #75A468

    #75A468

    oklch(67% 0.099 139)

  • #49A0C5

    #49A0C5

    oklch(66.8% 0.099 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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