#AF9AE2

Closest named color: Pale Purple (#B790D4). oklch(73.1% 0.105 297.1), rgb(175, 154, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.54:1
White text2.45:1

Values

HEX#AF9AE2
RGBrgb(175, 154, 226)
HSLhsl(258, 55%, 75%)
OKLCHoklch(73.1% 0.105 297.1)

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 #AF9AE2 2.45:1 Fails Lc -53.3 Large or bold text, headings
Black text on #AF9AE2 8.54:1 AAA Lc 55.7 Large or bold text, headings
#AF9AE2 text on white 2.45:1 Fails Lc 48.3 Large or bold text, headings
#AF9AE2 text on black 8.54:1 AAA Lc -53.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

    #EBE7F5

    oklch(93.5% 0.019 299.1)

  3. Step 200

    200

    #DBD5EF

    oklch(88.6% 0.036 296.2)

  4. Step 300

    300

    #C5B8E6

    oklch(80.9% 0.065 297.9)

  5. Step 400

    400 (this color)

    #AF9AE2

    oklch(73.1% 0.105 297.1)

  6. Step 500

    500

    #9376D0

    oklch(63.1% 0.134 297.3)

  7. Step 600

    600

    #7E5DBD

    oklch(55.6% 0.146 297.3)

  8. Step 700

    700

    #6A4CA3

    oklch(49.1% 0.136 297)

  9. Step 800

    800

    #563F84

    oklch(42.7% 0.112 296.8)

  10. Step 900

    900

    #47366A

    oklch(37.7% 0.088 297.1)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF9AE2 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)#89A5E50.055
Deuteranopia (no green cones)#8CA4E00.053
Tritanopia (no blue cones)#A5A6B40.085
Achromatopsia (no color)#A5A5A50.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9AE2

    #AF9AE2

    oklch(73.1% 0.105 297.1)

  • #A3B162

    #A3B162

    oklch(73.1% 0.105 117.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9AE2

    #AF9AE2

    oklch(73.1% 0.105 297.1)

  • #8BA6EA

    #8BA6EA

    oklch(73.1% 0.104 267.2)

  • #CB91CA

    #CB91CA

    oklch(73.2% 0.103 327.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF9AE2

    #AF9AE2

    oklch(73.1% 0.105 297.1)

  • #C4A456

    #C4A456

    oklch(73.1% 0.104 87.4)

  • #7ABA81

    #7ABA81

    oklch(73.1% 0.105 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9AE2

    #AF9AE2

    oklch(73.1% 0.105 297.1)

  • #DA9764

    #DA9764

    oklch(73.1% 0.105 57.5)

  • #52BEA7

    #52BEA7

    oklch(73.2% 0.105 177)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9AE2

    #AF9AE2

    oklch(73.1% 0.105 297.1)

  • #E28E84

    #E28E84

    oklch(73.1% 0.104 27.2)

  • #A3B162

    #A3B162

    oklch(73.1% 0.105 117.3)

  • #46BAC9

    #46BAC9

    oklch(73% 0.104 207.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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