#AF8EE2

Closest named color: Pale Purple (#B790D4). oklch(70.9% 0.124 301.4), rgb(175, 142, 226).

Aa

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

About this color

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

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

Values

HEX#AF8EE2
RGBrgb(175, 142, 226)
HSLhsl(264, 59%, 72%)
OKLCHoklch(70.9% 0.124 301.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 #AF8EE2 2.69:1 Fails Lc -57.4 Large or bold text, headings
Black text on #AF8EE2 7.79:1 AAA Lc 51.8 Large or bold text, headings
#AF8EE2 text on white 2.69:1 Fails Lc 52.2 Large or bold text, headings
#AF8EE2 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

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F2

    oklch(88.5% 0.044 301.7)

  4. Step 300

    300

    #C9B5EB

    oklch(80.8% 0.078 301.6)

  5. Step 400

    400 (this color)

    #AF8EE2

    oklch(70.9% 0.124 301.4)

  6. Step 500

    500

    #9B6FD9

    oklch(63.2% 0.158 301.2)

  7. Step 600

    600

    #8654C6

    oklch(55.6% 0.172 301.2)

  8. Step 700

    700

    #7244AB

    oklch(49.2% 0.16 301.3)

  9. Step 800

    800

    #5D388B

    oklch(42.7% 0.134 301.5)

  10. Step 900

    900

    #4C326F

    oklch(37.8% 0.103 301.3)

  11. Step 950

    950

    #2C1E41

    oklch(27.1% 0.065 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF8EE2 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)#7A9DE50.078
Deuteranopia (no green cones)#809DE00.073
Tritanopia (no blue cones)#A69CAD0.098
Achromatopsia (no color)#9D9D9D0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8EE2

    #AF8EE2

    oklch(70.9% 0.124 301.4)

  • #95AD4F

    #95AD4F

    oklch(70.9% 0.124 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8EE2

    #AF8EE2

    oklch(70.9% 0.124 301.4)

  • #859CEF

    #859CEF

    oklch(70.9% 0.124 271.2)

  • #CE83C4

    #CE83C4

    oklch(70.9% 0.125 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF8EE2

    #AF8EE2

    oklch(70.9% 0.124 301.4)

  • #BE9E37

    #BE9E37

    oklch(71% 0.124 91.3)

  • #60B779

    #60B779

    oklch(70.9% 0.124 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8EE2

    #AF8EE2

    oklch(70.9% 0.124 301.4)

  • #D88E49

    #D88E49

    oklch(70.9% 0.124 61.5)

  • #18BAA6

    #18BAA6

    oklch(70.9% 0.124 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8EE2

    #AF8EE2

    oklch(70.9% 0.124 301.4)

  • #E48270

    #E48270

    oklch(70.9% 0.124 31.4)

  • #95AD4F

    #95AD4F

    oklch(70.9% 0.124 121.5)

  • #00B5CD

    #00B5CD

    oklch(70.9% 0.123 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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