#AF8EDE

Closest named color: Pale Purple (#B790D4). oklch(70.7% 0.119 302.4), rgb(175, 142, 222).

Aa

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

About this color

#AF8EDE is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.119 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.021 away. Black text reads best on it, at 7.74:1.

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

Values

HEX#AF8EDE
RGBrgb(175, 142, 222)
HSLhsl(265, 55%, 71%)
OKLCHoklch(70.7% 0.119 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 #AF8EDE 2.71:1 Fails Lc -57.7 Large or bold text, headings
Black text on #AF8EDE 7.74:1 AAA Lc 51.6 Large or bold text, headings
#AF8EDE text on white 2.71:1 Fails Lc 52.5 Large or bold text, headings
#AF8EDE text on black 7.74:1 AAA Lc -49.4 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

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #CAB6E9

    oklch(81% 0.074 302.7)

  5. Step 400

    400 (this color)

    #AF8EDE

    oklch(70.7% 0.119 302.4)

  6. Step 500

    500

    #9C70D5

    oklch(63.2% 0.152 302.4)

  7. Step 600

    600

    #8755C2

    oklch(55.6% 0.166 302.5)

  8. Step 700

    700

    #7245A7

    oklch(49% 0.153 302.3)

  9. Step 800

    800

    #5D3987

    oklch(42.6% 0.127 302.6)

  10. Step 900

    900

    #4C326C

    oklch(37.6% 0.099 302.6)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF8EDE 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)#7C9CE10.075
Deuteranopia (no green cones)#829DDC0.071
Tritanopia (no blue cones)#A79BAC0.092
Achromatopsia (no color)#9D9D9D0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8EDE

    #AF8EDE

    oklch(70.7% 0.119 302.4)

  • #94AC54

    #94AC54

    oklch(70.7% 0.118 122.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8EDE

    #AF8EDE

    oklch(70.7% 0.119 302.4)

  • #879BEB

    #879BEB

    oklch(70.7% 0.12 272.3)

  • #CC84C1

    #CC84C1

    oklch(70.7% 0.119 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF8EDE

    #AF8EDE

    oklch(70.7% 0.119 302.4)

  • #BB9E3E

    #BB9E3E

    oklch(70.7% 0.119 92.2)

  • #62B67C

    #62B67C

    oklch(70.8% 0.119 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8EDE

    #AF8EDE

    oklch(70.7% 0.119 302.4)

  • #D58F4C

    #D58F4C

    oklch(70.8% 0.119 62.6)

  • #27B8A7

    #27B8A7

    oklch(70.6% 0.118 182.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8EDE

    #AF8EDE

    oklch(70.7% 0.119 302.4)

  • #E18470

    #E18470

    oklch(70.9% 0.119 33)

  • #94AC54

    #94AC54

    oklch(70.7% 0.118 122.1)

  • #1DB4CC

    #1DB4CC

    oklch(70.8% 0.119 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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