#AF86DF

Closest named color: Pale Purple (#B790D4). oklch(69.4% 0.133 304.4), rgb(175, 134, 223).

Aa

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

About this color

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

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

Values

HEX#AF86DF
RGBrgb(175, 134, 223)
HSLhsl(268, 58%, 70%)
OKLCHoklch(69.4% 0.133 304.4)

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 #AF86DF 2.87:1 Fails Lc -60.2 Content text, not long reading
Black text on #AF86DF 7.29:1 AAA Lc 49.2 Large or bold text, headings
#AF86DF text on white 2.87:1 Fails Lc 54.9 Large or bold text, headings
#AF86DF text on black 7.29:1 AAA Lc -46.9 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #E0D2F3

    oklch(88.5% 0.047 304.6)

  4. Step 300

    300

    #CCB4ED

    oklch(81% 0.083 303.8)

  5. Step 400

    400 (this color)

    #AF86DF

    oklch(69.4% 0.133 304.4)

  6. Step 500

    500

    #A16ADB

    oklch(63.1% 0.17 304.5)

  7. Step 600

    600

    #8C4EC9

    oklch(55.5% 0.186 304.2)

  8. Step 700

    700

    #773EAE

    oklch(49.1% 0.173 304.1)

  9. Step 800

    800

    #61348D

    oklch(42.7% 0.143 304.3)

  10. Step 900

    900

    #4F2F70

    oklch(37.7% 0.11 304.4)

  11. Step 950

    950

    #2E1C42

    oklch(27% 0.071 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF86DF 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)#7197E20.091
Deuteranopia (no green cones)#7A98DD0.084
Tritanopia (no blue cones)#A794A80.100
Achromatopsia (no color)#9898980.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF86DF

    #AF86DF

    oklch(69.4% 0.133 304.4)

  • #8BAA45

    #8BAA45

    oklch(69.3% 0.133 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF86DF

    #AF86DF

    oklch(69.4% 0.133 304.4)

  • #8495EF

    #8495EF

    oklch(69.5% 0.133 274.3)

  • #CE7BBE

    #CE7BBE

    oklch(69.4% 0.133 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF86DF

    #AF86DF

    oklch(69.4% 0.133 304.4)

  • #B79A21

    #B79A21

    oklch(69.3% 0.133 94.3)

  • #4DB476

    #4DB476

    oklch(69.3% 0.133 154.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF86DF

    #AF86DF

    oklch(69.4% 0.133 304.4)

  • #D58935

    #D58935

    oklch(69.4% 0.134 64.5)

  • #00B5A5

    #00B5A5

    oklch(69.5% 0.123 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF86DF

    #AF86DF

    oklch(69.4% 0.133 304.4)

  • #E27B63

    #E27B63

    oklch(69.3% 0.133 34.2)

  • #8BAA45

    #8BAA45

    oklch(69.3% 0.133 124.2)

  • #00AFCB

    #00AFCB

    oklch(69.4% 0.122 214.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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