#AFA3E7

Closest named color: Pale Purple (#B790D4). oklch(75.1% 0.097 292), rgb(175, 163, 231).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.21:1
White text2.27:1

Values

HEX#AFA3E7
RGBrgb(175, 163, 231)
HSLhsl(251, 59%, 77%)
OKLCHoklch(75.1% 0.097 292)

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 #AFA3E7 2.27:1 Fails Lc -49.8 Large or bold text, headings
Black text on #AFA3E7 9.21:1 AAA Lc 59.1 Large or bold text, headings
#AFA3E7 text on white 2.27:1 Fails Lc 44.9 Non-text elements, placeholder text
#AFA3E7 text on black 9.21:1 AAA Lc -57.2 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C1BAE5

    oklch(80.9% 0.06 292.5)

  5. Step 400

    400 (this color)

    #AFA3E7

    oklch(75.1% 0.097 292)

  6. Step 500

    500

    #8C7ACE

    oklch(63.1% 0.124 292.3)

  7. Step 600

    600

    #7662BB

    oklch(55.7% 0.135 291.8)

  8. Step 700

    700

    #6350A1

    oklch(49% 0.126 291.9)

  9. Step 800

    800

    #514283

    oklch(42.7% 0.105 292)

  10. Step 900

    900

    #433869

    oklch(37.6% 0.082 292.3)

  11. Step 950

    950

    #27213D

    oklch(26.9% 0.051 292.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA3E7 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)#92ADEA0.043
Deuteranopia (no green cones)#93AAE50.041
Tritanopia (no blue cones)#A3AEBB0.081
Achromatopsia (no color)#ACACAC0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA3E7

    #AFA3E7

    oklch(75.1% 0.097 292)

  • #AFB56A

    #AFB56A

    oklch(75.1% 0.098 112.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA3E7

    #AFA3E7

    oklch(75.1% 0.097 292)

  • #8CAEEC

    #8CAEEC

    oklch(74.9% 0.098 262.1)

  • #CB9AD3

    #CB9AD3

    oklch(75.1% 0.096 321.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA3E7

    #AFA3E7

    oklch(75.1% 0.097 292)

  • #CDA864

    #CDA864

    oklch(75% 0.097 81.6)

  • #8BBE85

    #8BBE85

    oklch(75.1% 0.096 142)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA3E7

    #AFA3E7

    oklch(75.1% 0.097 292)

  • #E09D74

    #E09D74

    oklch(75.2% 0.098 52.2)

  • #67C2A7

    #67C2A7

    oklch(75% 0.097 172.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA3E7

    #AFA3E7

    oklch(75.1% 0.097 292)

  • #E59592

    #E59592

    oklch(75% 0.097 22)

  • #AFB56A

    #AFB56A

    oklch(75.1% 0.098 112.5)

  • #57C0C8

    #57C0C8

    oklch(74.9% 0.097 202.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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