#AF86DC

Closest named color: Pale Purple (#B790D4). oklch(69.2% 0.13 305.2), rgb(175, 134, 220).

Aa

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

About this color

#AF86DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.130 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.034 away. Black text reads best on it, at 7.26:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.26:1
White text2.89:1

Values

HEX#AF86DC
RGBrgb(175, 134, 220)
HSLhsl(269, 55%, 69%)
OKLCHoklch(69.2% 0.13 305.2)

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 #AF86DC 2.89:1 Fails Lc -60.4 Content text, not long reading
Black text on #AF86DC 7.26:1 AAA Lc 49.0 Large or bold text, headings
#AF86DC text on white 2.89:1 Fails Lc 55.1 Large or bold text, headings
#AF86DC text on black 7.26:1 AAA Lc -46.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #E0D2F2

    oklch(88.5% 0.046 305.2)

  4. Step 300

    300

    #CDB4EB

    oklch(81% 0.081 305.4)

  5. Step 400

    400 (this color)

    #AF86DC

    oklch(69.2% 0.13 305.2)

  6. Step 500

    500

    #A16BD8

    oklch(63.1% 0.165 305)

  7. Step 600

    600

    #8D4FC6

    oklch(55.6% 0.181 305.3)

  8. Step 700

    700

    #783FAB

    oklch(49.1% 0.168 305.3)

  9. Step 800

    800

    #61358A

    oklch(42.6% 0.138 305.1)

  10. Step 900

    900

    #4F2F6F

    oklch(37.6% 0.109 304.8)

  11. Step 950

    950

    #2E1C41

    oklch(26.9% 0.069 304.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF86DC 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)#7297DF0.090
Deuteranopia (no green cones)#7B98DA0.083
Tritanopia (no blue cones)#A893A70.096
Achromatopsia (no color)#9898980.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF86DC

    #AF86DC

    oklch(69.2% 0.13 305.2)

  • #89AA49

    #89AA49

    oklch(69.2% 0.131 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF86DC

    #AF86DC

    oklch(69.2% 0.13 305.2)

  • #8594EC

    #8594EC

    oklch(69.2% 0.13 275.1)

  • #CD7BBB

    #CD7BBB

    oklch(69.1% 0.13 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF86DC

    #AF86DC

    oklch(69.2% 0.13 305.2)

  • #B59A28

    #B59A28

    oklch(69.1% 0.129 94.9)

  • #4EB378

    #4EB378

    oklch(69.1% 0.129 155.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF86DC

    #AF86DC

    oklch(69.2% 0.13 305.2)

  • #D28A38

    #D28A38

    oklch(69.3% 0.13 65.8)

  • #00B4A6

    #00B4A6

    oklch(69.2% 0.122 185.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF86DC

    #AF86DC

    oklch(69.2% 0.13 305.2)

  • #E07C63

    #E07C63

    oklch(69.2% 0.13 35)

  • #89AA49

    #89AA49

    oklch(69.2% 0.131 125.4)

  • #00AECB

    #00AECB

    oklch(69.1% 0.122 215.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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