#AFA0E7

Closest named color: Pale Purple (#B790D4). oklch(74.5% 0.102 293.5), rgb(175, 160, 231).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.00:1
White text2.33:1

Values

HEX#AFA0E7
RGBrgb(175, 160, 231)
HSLhsl(253, 60%, 77%)
OKLCHoklch(74.5% 0.102 293.5)

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 #AFA0E7 2.33:1 Fails Lc -50.9 Large or bold text, headings
Black text on #AFA0E7 9.00:1 AAA Lc 58.0 Large or bold text, headings
#AFA0E7 text on white 2.33:1 Fails Lc 45.9 Large or bold text, headings
#AFA0E7 text on black 9.00:1 AAA Lc -56.1 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

    #DAD5EF

    oklch(88.5% 0.036 294.5)

  4. Step 300

    300

    #C2B9E7

    oklch(80.8% 0.065 293.9)

  5. Step 400

    400 (this color)

    #AFA0E7

    oklch(74.5% 0.102 293.5)

  6. Step 500

    500

    #8E78D0

    oklch(63% 0.13 293.8)

  7. Step 600

    600

    #7860BD

    oklch(55.6% 0.141 293.2)

  8. Step 700

    700

    #664FA3

    oklch(49.2% 0.131 293.7)

  9. Step 800

    800

    #534184

    oklch(42.8% 0.108 293.7)

  10. Step 900

    900

    #44376A

    oklch(37.6% 0.086 293.6)

  11. Step 950

    950

    #28213E

    oklch(27.1% 0.053 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA0E7 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)#8EABEA0.049
Deuteranopia (no green cones)#90A9E50.046
Tritanopia (no blue cones)#A3ACB90.086
Achromatopsia (no color)#AAAAAA0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA0E7

    #AFA0E7

    oklch(74.5% 0.102 293.5)

  • #ACB466

    #ACB466

    oklch(74.6% 0.102 113.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA0E7

    #AFA0E7

    oklch(74.5% 0.102 293.5)

  • #8BACED

    #8BACED

    oklch(74.5% 0.101 263.4)

  • #CC96D1

    #CC96D1

    oklch(74.4% 0.102 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA0E7

    #AFA0E7

    oklch(74.5% 0.102 293.5)

  • #CBA75D

    #CBA75D

    oklch(74.5% 0.102 83.9)

  • #85BD82

    #85BD82

    oklch(74.4% 0.102 143.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA0E7

    #AFA0E7

    oklch(74.5% 0.102 293.5)

  • #DF9A6E

    #DF9A6E

    oklch(74.4% 0.102 53.1)

  • #5EC1A7

    #5EC1A7

    oklch(74.4% 0.101 173.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA0E7

    #AFA0E7

    oklch(74.5% 0.102 293.5)

  • #E6928D

    #E6928D

    oklch(74.4% 0.103 23.5)

  • #ACB466

    #ACB466

    oklch(74.6% 0.102 113.7)

  • #4EBFC9

    #4EBFC9

    oklch(74.4% 0.102 203.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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