#AF86CA

Closest named color: Wisteria (#A87DC2). oklch(68.4% 0.107 311.3), rgb(175, 134, 202).

Aa

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

About this color

#AF86CA is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.107 and its hue 311°. 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 7.08:1.

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

Values

HEX#AF86CA
RGBrgb(175, 134, 202)
HSLhsl(276, 39%, 66%)
OKLCHoklch(68.4% 0.107 311.3)

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 #AF86CA 2.96:1 Fails Lc -61.5 Content text, not long reading
Black text on #AF86CA 7.08:1 AAA Lc 47.9 Large or bold text, headings
#AF86CA text on white 2.96:1 Fails Lc 56.1 Large or bold text, headings
#AF86CA text on black 7.08:1 AAA Lc -45.7 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

    #EEE6F4

    oklch(93.5% 0.021 311.1)

  3. Step 200

    200

    #E1D3EC

    oklch(88.6% 0.037 310.5)

  4. Step 300

    300

    #CFB5E1

    oklch(81% 0.067 311.4)

  5. Step 400

    400 (this color)

    #AF86CA

    oklch(68.4% 0.107 311.3)

  6. Step 500

    500

    #A46FC5

    oklch(63% 0.136 311.4)

  7. Step 600

    600

    #8F56B2

    oklch(55.6% 0.148 311.1)

  8. Step 700

    700

    #7A4599

    oklch(49.1% 0.139 311.5)

  9. Step 800

    800

    #63397C

    oklch(42.6% 0.115 311.4)

  10. Step 900

    900

    #513264

    oklch(37.7% 0.09 311.4)

  11. Step 950

    950

    #2F1E3A

    oklch(27% 0.055 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF86CA 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)#7A94CD0.080
Deuteranopia (no green cones)#8397C80.075
Tritanopia (no blue cones)#AC8F9F0.076
Achromatopsia (no color)#9696960.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF86CA

    #AF86CA

    oklch(68.4% 0.107 311.3)

  • #82A75F

    #82A75F

    oklch(68.4% 0.107 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF86CA

    #AF86CA

    oklch(68.4% 0.107 311.3)

  • #8E91DA

    #8E91DA

    oklch(68.3% 0.107 281.4)

  • #C67EAD

    #C67EAD

    oklch(68.3% 0.108 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF86CA

    #AF86CA

    oklch(68.4% 0.107 311.3)

  • #A79B47

    #A79B47

    oklch(68.3% 0.106 101.3)

  • #55AE84

    #55AE84

    oklch(68.4% 0.107 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF86CA

    #AF86CA

    oklch(68.4% 0.107 311.3)

  • #C38E49

    #C38E49

    oklch(68.5% 0.107 71.5)

  • #2EAEAA

    #2EAEAA

    oklch(68.4% 0.107 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF86CA

    #AF86CA

    oklch(68.4% 0.107 311.3)

  • #D18264

    #D18264

    oklch(68.3% 0.107 41.5)

  • #82A75F

    #82A75F

    oklch(68.4% 0.107 131)

  • #3BA8C8

    #3BA8C8

    oklch(68.3% 0.107 221.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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