#AF81CC

Closest named color: Wisteria (#A87DC2). oklch(67.6% 0.118 311.6), rgb(175, 129, 204).

Aa

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

About this color

#AF81CC is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.118 and its hue 312°. 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.83:1.

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

Values

HEX#AF81CC
RGBrgb(175, 129, 204)
HSLhsl(277, 42%, 65%)
OKLCHoklch(67.6% 0.118 311.6)

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 #AF81CC 3.07:1 AA large text Lc -62.9 Content text, not long reading
Black text on #AF81CC 6.83:1 AA Lc 46.5 Large or bold text, headings
#AF81CC text on white 3.07:1 AA large text Lc 57.5 Large or bold text, headings
#AF81CC text on black 6.83:1 AA Lc -44.2 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 400.

  1. Step 50

    50

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D0B3E4

    oklch(80.8% 0.075 311.3)

  5. Step 400

    400 (this color)

    #AF81CC

    oklch(67.6% 0.118 311.6)

  6. Step 500

    500

    #A76BCB

    oklch(63% 0.151 311.6)

  7. Step 600

    600

    #9251B8

    oklch(55.6% 0.164 311.3)

  8. Step 700

    700

    #7D419E

    oklch(49.1% 0.152 311.9)

  9. Step 800

    800

    #653680

    oklch(42.6% 0.126 311.5)

  10. Step 900

    900

    #533067

    oklch(37.8% 0.098 311.9)

  11. Step 950

    950

    #301C3C

    oklch(26.8% 0.063 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF81CC 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)#7391CF0.091
Deuteranopia (no green cones)#7E94CA0.083
Tritanopia (no blue cones)#AC8B9D0.083
Achromatopsia (no color)#9393930.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF81CC

    #AF81CC

    oklch(67.6% 0.118 311.6)

  • #7CA656

    #7CA656

    oklch(67.6% 0.118 131.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF81CC

    #AF81CC

    oklch(67.6% 0.118 311.6)

  • #8B8DDE

    #8B8DDE

    oklch(67.5% 0.119 281.6)

  • #C879AC

    #C879AC

    oklch(67.6% 0.117 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF81CC

    #AF81CC

    oklch(67.6% 0.118 311.6)

  • #A69937

    #A69937

    oklch(67.6% 0.118 101.7)

  • #46AD80

    #46AD80

    oklch(67.5% 0.118 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF81CC

    #AF81CC

    oklch(67.6% 0.118 311.6)

  • #C48A3A

    #C48A3A

    oklch(67.6% 0.118 71.8)

  • #00ADA9

    #00ADA9

    oklch(67.5% 0.116 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF81CC

    #AF81CC

    oklch(67.6% 0.118 311.6)

  • #D47D5B

    #D47D5B

    oklch(67.7% 0.119 41.9)

  • #7CA656

    #7CA656

    oklch(67.6% 0.118 131.6)

  • #20A7CB

    #20A7CB

    oklch(67.7% 0.118 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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