#AFA0E4

Closest named color: Pale Purple (#B790D4). oklch(74.3% 0.098 294), rgb(175, 160, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.97:1
White text2.34:1

Values

HEX#AFA0E4
RGBrgb(175, 160, 228)
HSLhsl(253, 56%, 76%)
OKLCHoklch(74.3% 0.098 294)

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 #AFA0E4 2.34:1 Fails Lc -51.0 Large or bold text, headings
Black text on #AFA0E4 8.97:1 AAA Lc 57.9 Large or bold text, headings
#AFA0E4 text on white 2.34:1 Fails Lc 46.1 Large or bold text, headings
#AFA0E4 text on black 8.97:1 AAA Lc -55.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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C2BAE5

    oklch(81% 0.061 293.5)

  5. Step 400

    400 (this color)

    #AFA0E4

    oklch(74.3% 0.098 294)

  6. Step 500

    500

    #8E79CD

    oklch(63.1% 0.125 294)

  7. Step 600

    600

    #7961BA

    oklch(55.7% 0.135 294)

  8. Step 700

    700

    #664FA0

    oklch(49% 0.126 294.3)

  9. Step 800

    800

    #534182

    oklch(42.6% 0.105 294.2)

  10. Step 900

    900

    #443868

    oklch(37.7% 0.081 293.7)

  11. Step 950

    950

    #28213D

    oklch(27% 0.052 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFA0E4 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)#8FAAE70.047
Deuteranopia (no green cones)#91A8E20.044
Tritanopia (no blue cones)#A4ABB80.081
Achromatopsia (no color)#A9A9A90.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA0E4

    #AFA0E4

    oklch(74.3% 0.098 294)

  • #ABB369

    #ABB369

    oklch(74.3% 0.098 113.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA0E4

    #AFA0E4

    oklch(74.3% 0.098 294)

  • #8CABEA

    #8CABEA

    oklch(74.2% 0.098 264)

  • #CB97CF

    #CB97CF

    oklch(74.4% 0.097 324.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA0E4

    #AFA0E4

    oklch(74.3% 0.098 294)

  • #C9A761

    #C9A761

    oklch(74.4% 0.097 84.2)

  • #86BC84

    #86BC84

    oklch(74.3% 0.097 143.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA0E4

    #AFA0E4

    oklch(74.3% 0.098 294)

  • #DD9B70

    #DD9B70

    oklch(74.4% 0.098 53.7)

  • #62C0A7

    #62C0A7

    oklch(74.3% 0.098 174)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA0E4

    #AFA0E4

    oklch(74.3% 0.098 294)

  • #E3938E

    #E3938E

    oklch(74.3% 0.098 23.6)

  • #ABB369

    #ABB369

    oklch(74.3% 0.098 113.8)

  • #54BEC8

    #54BEC8

    oklch(74.4% 0.098 203.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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