#AF86C7

Closest named color: Wisteria (#A87DC2). oklch(68.3% 0.103 312.5), rgb(175, 134, 199).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text7.05:1
White text2.97:1

Values

HEX#AF86C7
RGBrgb(175, 134, 199)
HSLhsl(278, 37%, 65%)
OKLCHoklch(68.3% 0.103 312.5)

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 #AF86C7 2.97:1 Fails Lc -61.6 Content text, not long reading
Black text on #AF86C7 7.05:1 AAA Lc 47.8 Large or bold text, headings
#AF86C7 text on white 2.97:1 Fails Lc 56.3 Large or bold text, headings
#AF86C7 text on black 7.05:1 AAA Lc -45.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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F3

    oklch(93.5% 0.019 312.8)

  3. Step 200

    200

    #E1D3EB

    oklch(88.5% 0.036 311.4)

  4. Step 300

    300

    #CFB5DF

    oklch(80.9% 0.065 312.5)

  5. Step 400

    400 (this color)

    #AF86C7

    oklch(68.3% 0.103 312.5)

  6. Step 500

    500

    #A570C2

    oklch(63.2% 0.132 312.8)

  7. Step 600

    600

    #9056AF

    oklch(55.6% 0.145 312.7)

  8. Step 700

    700

    #7A4696

    oklch(49% 0.134 312.5)

  9. Step 800

    800

    #633A7A

    oklch(42.6% 0.111 312.1)

  10. Step 900

    900

    #513262

    oklch(37.6% 0.087 312.6)

  11. Step 950

    950

    #2F1E39

    oklch(26.9% 0.053 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF86C7 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)#7B93CA0.078
Deuteranopia (no green cones)#8497C50.074
Tritanopia (no blue cones)#AD8F9E0.073
Achromatopsia (no color)#9696960.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF86C7

    #AF86C7

    oklch(68.3% 0.103 312.5)

  • #80A763

    #80A763

    oklch(68.3% 0.104 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF86C7

    #AF86C7

    oklch(68.3% 0.103 312.5)

  • #8F91D7

    #8F91D7

    oklch(68.3% 0.103 282.1)

  • #C57FAA

    #C57FAA

    oklch(68.2% 0.103 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF86C7

    #AF86C7

    oklch(68.3% 0.103 312.5)

  • #A59C4B

    #A59C4B

    oklch(68.3% 0.103 103)

  • #56AD86

    #56AD86

    oklch(68.2% 0.103 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF86C7

    #AF86C7

    oklch(68.3% 0.103 312.5)

  • #C08E4C

    #C08E4C

    oklch(68.2% 0.103 72.2)

  • #35ADAA

    #35ADAA

    oklch(68.3% 0.103 192.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF86C7

    #AF86C7

    oklch(68.3% 0.103 312.5)

  • #CF8365

    #CF8365

    oklch(68.2% 0.104 42.2)

  • #80A763

    #80A763

    oklch(68.3% 0.104 132.9)

  • #42A7C7

    #42A7C7

    oklch(68.3% 0.103 222.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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