#AF8FDD

Closest named color: Pale Purple (#B790D4). oklch(70.9% 0.116 302.4), rgb(175, 143, 221).

Aa

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

About this color

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

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

Values

HEX#AF8FDD
RGBrgb(175, 143, 221)
HSLhsl(265, 53%, 71%)
OKLCHoklch(70.9% 0.116 302.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 #AF8FDD 2.69:1 Fails Lc -57.4 Large or bold text, headings
Black text on #AF8FDD 7.79:1 AAA Lc 51.8 Large or bold text, headings
#AF8FDD text on white 2.69:1 Fails Lc 52.2 Large or bold text, headings
#AF8FDD text on black 7.79:1 AAA Lc -49.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #C9B6E8

    oklch(80.9% 0.072 302.2)

  5. Step 400

    400 (this color)

    #AF8FDD

    oklch(70.9% 0.116 302.4)

  6. Step 500

    500

    #9B71D3

    oklch(63.2% 0.148 302.1)

  7. Step 600

    600

    #8657C0

    oklch(55.6% 0.16 302.1)

  8. Step 700

    700

    #7246A6

    oklch(49.1% 0.15 302.3)

  9. Step 800

    800

    #5D3A86

    oklch(42.7% 0.124 302.7)

  10. Step 900

    900

    #4C336B

    oklch(37.7% 0.096 302.7)

  11. Step 950

    950

    #2C1E3F

    oklch(26.9% 0.062 302)

Export this scale for Tailwind in the Tailwind colors tool

#AF8FDD 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)#7D9DE00.074
Deuteranopia (no green cones)#849DDB0.067
Tritanopia (no blue cones)#A79BAC0.089
Achromatopsia (no color)#9E9E9E0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8FDD

    #AF8FDD

    oklch(70.9% 0.116 302.4)

  • #94AD57

    #94AD57

    oklch(70.9% 0.116 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8FDD

    #AF8FDD

    oklch(70.9% 0.116 302.4)

  • #889CE9

    #889CE9

    oklch(70.8% 0.115 272.1)

  • #CC85C1

    #CC85C1

    oklch(70.9% 0.117 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF8FDD

    #AF8FDD

    oklch(70.9% 0.116 302.4)

  • #BB9F42

    #BB9F42

    oklch(71% 0.116 92.4)

  • #64B67D

    #64B67D

    oklch(70.9% 0.116 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8FDD

    #AF8FDD

    oklch(70.9% 0.116 302.4)

  • #D4904F

    #D4904F

    oklch(70.9% 0.116 62.8)

  • #2FB8A7

    #2FB8A7

    oklch(70.8% 0.116 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8FDD

    #AF8FDD

    oklch(70.9% 0.116 302.4)

  • #E08572

    #E08572

    oklch(70.9% 0.116 32.7)

  • #94AD57

    #94AD57

    oklch(70.9% 0.116 122.7)

  • #27B4CB

    #27B4CB

    oklch(70.9% 0.116 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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